Lepší hláška po odeslání přednášek.
This commit is contained in:
		
							parent
							
								
									833893f233
								
							
						
					
					
						commit
						a84df1909b
					
				
					 2 changed files with 3 additions and 12 deletions
				
			
		|  | @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | ||||
| 
 | ||||
| {% load humanize %} | ||||
| {% load static %} | ||||
| 
 | ||||
| 
 | ||||
| {% block content %} | ||||
| 
 | ||||
| <h1> Děkujeme. </h1> | ||||
|     | ||||
| {% endblock %} | ||||
|  | @ -5,6 +5,8 @@ from django.core.exceptions import ObjectDoesNotExist | |||
| from django.db.models import Sum | ||||
| from django.forms import Form | ||||
| 
 | ||||
| from various.views.pomocne import formularOKView | ||||
| 
 | ||||
| from prednasky.models import Prednaska, Hlasovani, Seznam, STAV_NAVRH | ||||
| from soustredeni.models import Soustredeni | ||||
| from personalni.models import Osoba | ||||
|  | @ -54,7 +56,7 @@ def newPrednaska(request): | |||
| 
 | ||||
| 
 | ||||
| def Prednaska_hotovo(request): | ||||
| 	return render(request, 'prednasky/hotovo.html') | ||||
| 	return formularOKView(request, "Děkujeme za vyplnění hlasování o přednáškách a těšíme se na soustředění.") | ||||
| 
 | ||||
| class MetaSeznamListView(generic.ListView): | ||||
| 	model = Seznam | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue