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; | 	float: right; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .foto_org { | ||||||
|  |     width: 250px; | ||||||
|  |     text-align: center; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| @media (max-width: 991px) { | @media (max-width: 991px) { | ||||||
| 	#header { | 	#header { | ||||||
| 		height: 196px; | 		height: 196px; | ||||||
|  |  | ||||||
|  | @ -34,21 +34,22 @@ | ||||||
|     <table> |     <table> | ||||||
|     <tr> |     <tr> | ||||||
|     <td> |     <td> | ||||||
|     {% if org.foto %} |  | ||||||
|     <div class="foto_org"> |     <div class="foto_org"> | ||||||
|  |     {% if org.foto %} | ||||||
|       {# <img src="{{org.foto.url}}" height="{{org.foto.height}}"> #} |       {# <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> |       <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> | ||||||
|     </div> |  | ||||||
|     {% endif %} |     {% endif %} | ||||||
|  |     </div> | ||||||
|     </td> |     </td> | ||||||
|     <td> |     <td> | ||||||
|     <ul> |     <ul> | ||||||
|         <li> |         <li> | ||||||
|           {% if aktivni %} |           {% if aktivni %} | ||||||
|  |             {% if org.organizuje_od_roku %} | ||||||
|               Organizuje od roku {{org.organizuje_od_roku}} |               Organizuje od roku {{org.organizuje_od_roku}} | ||||||
|  |             {% endif %} | ||||||
|           {% else %} |           {% else %} | ||||||
|             {#TODO časovat dle rodu #} |             Aktivní v letech {{org.organizuje_od_roku | default:"?" }}–{{org.organizuje_do_roku | default:"?" }} | ||||||
|             Organizoval v letech {{org.organizuje_od_roku}}–{{org.organizuje_do_roku}} |  | ||||||
|           {% endif %} |           {% endif %} | ||||||
|       {% if org.studuje %} |       {% if org.studuje %} | ||||||
|         <li>Studuje: {{org.studuje}} |         <li>Studuje: {{org.studuje}} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián