Added grade URL so admin can access information about schedule
[cascardo/eventmanager.git] / templates / grade.html
diff --git a/templates/grade.html b/templates/grade.html
new file mode 100644 (file)
index 0000000..0cf74a4
--- /dev/null
@@ -0,0 +1,36 @@
+{% extends "base.html" %}
+{% block content %}
+
+{% if aprovadas %}
+
+<!--<h2>{{ dados_usuario.nome }}</h2>-->
+    {% for p in aprovadas %}
+    {% ifchanged p.dia %}
+      <h3>
+        {{ p.dia|date:"l, d \de F" }}
+      </h3>
+      <br /><br />
+    {% endifchanged %}
+    <span style="font-size:12pt"><a href="/palestra/{{p.id}}/" style="color:#333;">{{p.titulo}}</a></span>
+        <br />
+        <span style="font-weight:bolder;margin-left:15px">Palestrante{{ p.palestrante.all|pluralize }}:</span>
+        <br />
+            {% for x in p.palestrante.all %}
+        <span style="margin-left:30px">
+            <a href="/palestrante/{{x.id}}/">{{x.nome|capfirst}} </a>{% ifnotequal p.palestrante.all|length 1%}<br /> {% endifnotequal %}
+        </span>
+            {% endfor %}
+        <br />
+    {% endfor %}
+{% else %}
+<div id="404" style="text-align:center">
+    <h2>Padre Quevedo 404</h2>
+    <br />
+    <div style="color:#FF0000;">
+        Usuario nón ecziste!
+    </div>
+</div>
+{% endif %}
+
+<a href="javascript:;" onclick="history.back ();">Voltar</a>
+{% endblock %}