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 | Aktualni | ||||||
| * třízení podgalerií | * třízení podgalerií | ||||||
| * predelat URL na cistsi (odstranit probehlo) |  | ||||||
| * do CSS | * do CSS | ||||||
| 
 | 
 | ||||||
| Dlouhodobe | Dlouhodobe | ||||||
|  |  | ||||||
|  | @ -43,7 +43,7 @@ | ||||||
|     {% for galerie in soustredeni.galerie_set.all %} |     {% for galerie in soustredeni.galerie_set.all %} | ||||||
|       {% if galerie.zobrazit == 0 or user.is_staff %} |       {% if galerie.zobrazit == 0 or user.is_staff %} | ||||||
|         <li> |         <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 #} |           {# TODO kdyz je titulni obrazek, tak asi i titulni obrazek #} | ||||||
|         </li> |         </li> | ||||||
|       {% endif %} |       {% endif %} | ||||||
|  | @ -51,7 +51,7 @@ | ||||||
|   {% endif %} |   {% endif %} | ||||||
|   {% if user.is_staff %} |   {% if user.is_staff %} | ||||||
|     <li> |     <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> |     </li> | ||||||
|   {% endif %} |   {% endif %} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -17,7 +17,7 @@ urlpatterns = patterns('', | ||||||
|     url(r'^soustredeni/probehlo/$', views.SoustredeniListView.as_view(), |     url(r'^soustredeni/probehlo/$', views.SoustredeniListView.as_view(), | ||||||
|         name = 'seminar_seznam_soustredeni'), |         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+)/$', 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/aktualni/$', views.AktualniZadaniView, name='seminar_aktualni_zadani'), | ||||||
|     url(r'^zadani/temata/$', views.ZadaniTemataView, name='seminar_temata'), |     url(r'^zadani/temata/$', views.ZadaniTemataView, name='seminar_temata'), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha