javascript ezabatu

This commit is contained in:
aitzol 2022-04-16 17:15:34 +02:00
parent 9f53e6b13e
commit c6a4c118ab

View File

@ -24,7 +24,9 @@
</div> </div>
<div class="grid-item"> <div class="grid-item">
<a href="/edit_fullname" class="edit">{{ str['edit'] }}</a> % if data['fakeCn'] == True:
<a href="/edit_fullname" class="edit">{{ str['edit'] }}</a>
% end
</div> </div>
<div class="grid-item"> <div class="grid-item">
@ -35,7 +37,7 @@
</div> </div>
<div class="grid-item"> <div class="grid-item">
<a href="edit_email">{{ str['edit'] }}</a> <a href="/edit_email">{{ str['edit'] }}</a>
</div> </div>
<div class="grid-item"> <div class="grid-item">
@ -46,7 +48,7 @@
</div> </div>
<div class="grid-item"> <div class="grid-item">
<a href="change_pwd">{{ str['edit'] }}</a> <a href="/change_pwd">{{ str['edit'] }}</a>
</div> </div>
<div class="account"> <div class="account">
@ -64,11 +66,6 @@
%end %end
</main> </main>
<script>
if( "{{ data['fakeCn'] }}" == "True"){
document.getElementsByClassName("edit")[0].style.display = "block";
}
</script>
</body> </body>
</html> </html>