javascript ezabatu
This commit is contained in:
		
							parent
							
								
									9f53e6b13e
								
							
						
					
					
						commit
						c6a4c118ab
					
				
							
								
								
									
										13
									
								
								user.tpl
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								user.tpl
									
									
									
									
									
								
							| @ -24,7 +24,9 @@ | ||||
|         </div> | ||||
| 
 | ||||
|         <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 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> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user