Organizatori do tabulky.
This commit is contained in:
		
							parent
							
								
									7ccf9143a1
								
							
						
					
					
						commit
						eeed25cef8
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -19,7 +19,10 @@ | |||
|   {% if not aktivni %} | ||||
|     <a href="/co-je-MaM/organizatori/">Aktivní organizátoři</a> | ||||
|   {% endif %} | ||||
|   <table> | ||||
|   {% for org in object_list %} | ||||
|     <tr> | ||||
|     <td colspan="2"> | ||||
|     <h2> | ||||
|     {{org.user.first_name}} | ||||
|     {% if org.prezdivka %} | ||||
|  | @ -27,12 +30,18 @@ | |||
|     {% endif %} | ||||
|     {{org.user.last_name}} | ||||
|     </h2> | ||||
|     </td> | ||||
|     </tr> | ||||
|     <tr> | ||||
|     <td> | ||||
|     {% if org.foto %} | ||||
|     <div class="foto_org"> | ||||
|       {# <img src="{{org.foto.url}}" height="{{org.foto.height}}"> #} | ||||
|       <a href="{{org.foto.url}}"><img src="{{org.foto_male.url}}" height="{{org.foto_male.height}}" alt="{{org.first_name}} {{org.last_name}}"></a> | ||||
|     </div> | ||||
|     {% endif %} | ||||
|     </td> | ||||
|     <td> | ||||
|     <ul> | ||||
|         <li> | ||||
|           {% if aktivni %} | ||||
|  | @ -52,7 +61,10 @@ | |||
|     </ul> | ||||
|     {{org.strucny_popis_organizatora}} | ||||
|     <hr> | ||||
|     </td> | ||||
|     </tr> | ||||
|   {% endfor %} | ||||
|   </table> | ||||
| 
 | ||||
|   {% if aktivni%} | ||||
|     <a href="organizovali/">Vysloužilí organizátoři</a> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue