Browse Source

Add test seminar template

remotes/origin/feincms
Tomas Gavenciak 10 years ago
parent
commit
3b7b236d33
  1. 20
      seminar/templates/seminar/problem.html
  2. 6
      seminar/urls.py

20
seminar/templates/seminar/problem.html

@ -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

@ -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…
Cancel
Save