Změny organizátorů
* nezobrazovat rok, když nevíme (Hroch) * fotky vycentrované v levém sloupci
This commit is contained in:
		
							parent
							
								
									d16747e1ef
								
							
						
					
					
						commit
						0a0fa11efc
					
				
					 2 changed files with 12 additions and 6 deletions
				
			
		|  | @ -236,6 +236,11 @@ div.zadani_azad_termin { | |||
| 	float: right; | ||||
| } | ||||
| 
 | ||||
| .foto_org { | ||||
|     width: 250px; | ||||
|     text-align: center; | ||||
| } | ||||
| 
 | ||||
| @media (max-width: 991px) { | ||||
| 	#header { | ||||
| 		height: 196px; | ||||
|  |  | |||
|  | @ -34,21 +34,22 @@ | |||
|     <table> | ||||
|     <tr> | ||||
|     <td> | ||||
|     {% if org.foto %} | ||||
|     <div class="foto_org"> | ||||
|     {% if org.foto %} | ||||
|       {# <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> | ||||
|       <a href="{{org.foto.url}}"><img src="{{org.foto_male.url}}" height="{{org.foto_male.height}}" alt="{{org.user.first_name}} {{org.user.last_name}}"></a> | ||||
|     {% endif %} | ||||
|     </div> | ||||
|     </td> | ||||
|     <td> | ||||
|     <ul> | ||||
|         <li> | ||||
|           {% if aktivni %} | ||||
|             {% if org.organizuje_od_roku %} | ||||
|               Organizuje od roku {{org.organizuje_od_roku}} | ||||
|             {% endif %} | ||||
|           {% else %} | ||||
|             {#TODO časovat dle rodu #} | ||||
|             Organizoval v letech {{org.organizuje_od_roku}}–{{org.organizuje_do_roku}} | ||||
|             Aktivní v letech {{org.organizuje_od_roku | default:"?" }}–{{org.organizuje_do_roku | default:"?" }} | ||||
|           {% endif %} | ||||
|       {% if org.studuje %} | ||||
|         <li>Studuje: {{org.studuje}} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián