summaryrefslogtreecommitdiffstats
path: root/templates/agenda/one_comment.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/agenda/one_comment.html')
-rwxr-xr-xtemplates/agenda/one_comment.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/agenda/one_comment.html b/templates/agenda/one_comment.html
new file mode 100755
index 0000000..9ad4fed
--- /dev/null
+++ b/templates/agenda/one_comment.html
@@ -0,0 +1,46 @@
+{% extends "agenda/base.html" %}
+{% load i18n %}
+{% load comments %}
+{% block title %}{{ comment.headline }}{% endblock %}
+{% block branding %}{% if comment.headline %}Comment on {{ comment.get_content_object.title }}{% endif %}{% endblock %}
+{% block content_title %} <h1>{{ group.name }}</h1> {% endblock %}
+{% block content %}
+<div id="content-main">
+
+ <div class="module">
+ {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
+ {% if comment.headline %}<h2>{{ comment.headline }}</h2> {% endif %}
+
+ {% if comment.get_karma_total %}<p>Karma: {{ comment.get_karma_total }}{% endif %}
+
+ <p>{% trans 'Is coment public?' %}: {{ comment.is_public|yesno }}
+
+ <p>{% trans 'Posted by' %} {{ comment.user }} {% trans 'on' %} {{ comment.submit_date|date }}</p>
+ <ul class="object-tools">
+ <li><a href="{{ comment.get_flag_url }}" class="changelink">{% trans 'Flag' %}</a> </li>
+ <li><a href="{{ comment.get_deletion_url }}" class="deletelink">{% trans 'Delete' %}</a></li>
+ </ul>
+ <p>{{ comment.comment }}
+
+</div>
+<div class="module">
+ <h2>{% trans 'Posted on' %} {{ comment.get_content_object.title }} {{ comment.get_content_object.name }}</h2>
+ <p> {{ comment.get_content_object.description }}
+</div>
+{% endblock %}
+
+{% block sidebar %}{{ block.super }}
+
+<div class="module">
+<h2>{% trans 'To do' %}</h2>
+<ul class="actionlist">
+ <li><a href="/todo/add">{% trans 'New ToDo' %}</a></li>
+ {% if group.grouptaskpool_set.count %}
+ <h3>{% trans 'To do' %}</h3>
+ {% for event_link in group.grouptaskpool_set.all %}
+ <li>{{ event_link.todo }}</li>
+ {% endfor %}
+ {% endif %}
+</ul>
+</div>
+{% endblock %}