galerie | lepsi URL
z URL odstraneno "navic" probehlo
This commit is contained in:
		
							parent
							
								
									fd8aff5aff
								
							
						
					
					
						commit
						7d1bda5fce
					
				
					 3 changed files with 3 additions and 4 deletions
				
			
		|  | @ -4,7 +4,6 @@ | |||
| 
 | ||||
| Aktualni | ||||
| * třízení podgalerií | ||||
| * predelat URL na cistsi (odstranit probehlo) | ||||
| * do CSS | ||||
| 
 | ||||
| Dlouhodobe | ||||
|  |  | |||
|  | @ -43,7 +43,7 @@ | |||
|     {% for galerie in soustredeni.galerie_set.all %} | ||||
|       {% if galerie.zobrazit == 0 or user.is_staff %} | ||||
|         <li> | ||||
|           <a href="./{{soustredeni.pk}}/fotogalerie/{{galerie.pk}}">FOTOGALERIE: {{galerie}}</a> | ||||
|           <a href="../{{soustredeni.pk}}/fotogalerie/{{galerie.pk}}">FOTOGALERIE: {{galerie}}</a> | ||||
|           {# TODO kdyz je titulni obrazek, tak asi i titulni obrazek #} | ||||
|         </li> | ||||
|       {% endif %} | ||||
|  | @ -51,7 +51,7 @@ | |||
|   {% endif %} | ||||
|   {% if user.is_staff %} | ||||
|     <li> | ||||
|       <a href="./{{soustredeni.pk}}/fotogalerie/0/new/"> VYTVOŘIT NOVOU FOTOGALERII </a> | ||||
|       <a href="../{{soustredeni.pk}}/fotogalerie/0/new/"> VYTVOŘIT NOVOU FOTOGALERII </a> | ||||
|     </li> | ||||
|   {% endif %} | ||||
| 
 | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ urlpatterns = patterns('', | |||
|     url(r'^soustredeni/probehlo/$', views.SoustredeniListView.as_view(), | ||||
|         name = 'seminar_seznam_soustredeni'), | ||||
|     url(r'^soustredeni/probehlo/(?P<soustredeni>\d+)/$', views.SoustredeniView.as_view(), name='seminar_soustredeni'), | ||||
|     url(r'^soustredeni/probehlo/(?P<soustredeni>\d+)/fotogalerie/', include('galerie.urls')), | ||||
|     url(r'^soustredeni/(?P<soustredeni>\d+)/fotogalerie/', include('galerie.urls')), | ||||
| 
 | ||||
|     url(r'^zadani/aktualni/$', views.AktualniZadaniView, name='seminar_aktualni_zadani'), | ||||
|     url(r'^zadani/temata/$', views.ZadaniTemataView, name='seminar_temata'), | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha