summaryrefslogtreecommitdiffstats
path: root/apps/it/templates/docs.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-20 12:44:49 +0200
committerFilipp Lepalaan <f@230.to>2014-02-20 12:44:49 +0200
commit3321241b61766045a68a3d607b67e11a95014e87 (patch)
treed13ce50a7c46f986f403733e9922e766665e7d2b /apps/it/templates/docs.html
parent75ad7e4bd7d69243e7e5281c2642f00478fb072d (diff)
downloadpudding-3321241b61766045a68a3d607b67e11a95014e87.tar.gz
pudding-3321241b61766045a68a3d607b67e11a95014e87.tar.bz2
pudding-3321241b61766045a68a3d607b67e11a95014e87.zip
Require logins, removed jquery UI
Diffstat (limited to 'apps/it/templates/docs.html')
-rw-r--r--apps/it/templates/docs.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/it/templates/docs.html b/apps/it/templates/docs.html
new file mode 100644
index 0000000..22243fc
--- /dev/null
+++ b/apps/it/templates/docs.html
@@ -0,0 +1,32 @@
+{% extends "default.html" %}
+{% load bootstrap3 %}
+{% load humanize %}
+{% load it_tags %}
+{% load i18n %}
+
+{% block main %}
+{% for i in object_list %}
+ <div class="media">
+ <a class="pull-left" href="#">
+ <img class="media-object img-thumbnail" src="{{ STATIC_URL }}images/bubble-128.png" alt="...">
+ </a>
+ <div class="media-body">
+ <h5 class="media-heading pull-left">
+ <i class="fa fa-user fa-fw"></i> <span>{{ i.created_by }}</span> <i class="fa fa-clock-o fa-fw"></i> {{ i.created_at|naturaltime }}
+ </h5>
+ <div class="btn-group pull-right" style="display:none">
+ <button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">
+ <i class="fa fa-cog"></i>
+ <span class="caret"></span>
+ </button>
+ <ul class="dropdown-menu" role="menu">
+ <li><a href="{% url 'edit_task' issue.pk i.pk %}">{% trans "Edit" %}</a></li>
+ <li><a href="{% url 'delete_issue' issue.pk %}" class="confirm">{% trans "Delete" %}</a></li>
+ </ul>
+ </div>
+ <div class="clearfix"></div>
+ {{ i.description|markdown }}
+ </div>
+ </div>
+{% endfor %}
+{% endblock main %}