forked from jonhull/hd-vote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
overview.html
44 lines (37 loc) · 950 Bytes
/
overview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% extends 'base.html' %}
{% block content %}
<form action="/new" method="get">
<div><input type="submit" value="New Issue"></div>
</form>
{% if success_msg %}
<div class="success_msg"><b>{{success_msg}}</b></div>
{% endif %}
<!--
<h3>Current Issues</h3>
{% if user %}
{% for issue in issues %}
<a href="/issue/{{issue.key.id}}">{{issue.title}}</a></br>
{% endfor %}
{% else %}
<b>You must log in to vote</b>
{% endif %}
<h3>Recent Results</h3>
{% for issue in recent_results %}
<a href="/issue/{{issue.key.id}}">{{issue.title}}</a></br>
{% endfor %}
<h3>Recent Votes</h3>
{% for issue in recent_voted %}
<a href="/issue/{{issue.key.id}}">{{issue.title}}</a></br>
{% endfor %}
{% if user %}
<h3>My Issues</h3>
{% if created_by %}
{% for issue in created_by %}
<a href="/issue/{{issue.key.id}}">{{issue.title}}</a></br>
{% endfor %}
{% else %}
You have not created any issues yet
{% endif %}
{% endif %}
-->
{% endblock %}