Add test seminar template
This commit is contained in:
		
							parent
							
								
									add219ccf8
								
							
						
					
					
						commit
						3b7b236d33
					
				
					 2 changed files with 26 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								seminar/templates/seminar/problem.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								seminar/templates/seminar/problem.html
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| {% extends "base.html" %} | ||||
| {% load cms_tags staticfiles sekizai_tags menu_tags %} | ||||
| 
 | ||||
| {% block content %} | ||||
| <div> | ||||
|   <h2>Problém {{ problem.nazev }}</h2> | ||||
| 
 | ||||
|   <h3>Text</h3> | ||||
|   {% render_placeholder problem.text_problemu %} | ||||
| 
 | ||||
|   {% if True %} | ||||
|   <div class='mam-org-only'> | ||||
|     <h3>Text - org</h3> | ||||
|     {% render_placeholder problem.text_problemu_org %} | ||||
|   </div> | ||||
|   {% endif %} | ||||
| 
 | ||||
| </div> | ||||
| {% endblock content %} | ||||
| 
 | ||||
							
								
								
									
										6
									
								
								seminar/urls.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								seminar/urls.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| from django.conf.urls import patterns, url | ||||
| from . import views | ||||
| 
 | ||||
| urlpatterns = patterns('', | ||||
|     url(r'^problem/(?P<pk>\d+)/$', views.ProblemView.as_view(), name='problem'), | ||||
| ) | ||||
		Loading…
	
		Reference in a new issue
	
	 Tomas Gavenciak
						Tomas Gavenciak