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