diff options
author | Filipp Lepalaan <f@230.to> | 2014-02-19 18:02:09 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-02-19 18:02:09 +0200 |
commit | 75ad7e4bd7d69243e7e5281c2642f00478fb072d (patch) | |
tree | eaaaf360902d369f42d94778aac8803db7973ce0 /apps/it/templates/list_issues.html | |
parent | cfc7c3f52544af8a71d3fa3988a06fee200d2c24 (diff) | |
download | pudding-75ad7e4bd7d69243e7e5281c2642f00478fb072d.tar.gz pudding-75ad7e4bd7d69243e7e5281c2642f00478fb072d.tar.bz2 pudding-75ad7e4bd7d69243e7e5281c2642f00478fb072d.zip |
Added tags, jquery UI
Diffstat (limited to 'apps/it/templates/list_issues.html')
-rw-r--r-- | apps/it/templates/list_issues.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/apps/it/templates/list_issues.html b/apps/it/templates/list_issues.html index 56d05b0..23b9701 100644 --- a/apps/it/templates/list_issues.html +++ b/apps/it/templates/list_issues.html @@ -1,5 +1,6 @@ {% extends "default.html" %} {% load bootstrap3 %} +{% load it_tags %} {% load i18n %} {% block main %} @@ -8,19 +9,17 @@ <li{%if k == state %} class="active"{% endif %}><a href="?state={{ k }}">{{ v }}</a></li> {% endfor %} </ul> -<table class="table"> - {% for i in issues %} - <tr> - <td><a href="{% url 'view_issue' i.pk %}">{{ i.description }}</a></td> - </tr> - {% endfor %} -</table> + +{% for i in issues %} + <h3><a href="{% url 'view_issue' i.pk %}">{{ i.title }}</a></h3> + <p>{{ i.description|markdown|truncatewords:20 }}</p> +{% endfor %} {% endblock main %} {% block inspector %} <form action="" method="post" class="form"> {% csrf_token %} {% bootstrap_form form %} - <button type="submit" class="btn btn-primary">{% trans "Add Issue" %}</button> + <button type="submit" class="btn btn-primary pull-right">{% trans "Add Issue" %}</button> </form> {% endblock inspector %} |