Anfänglicher Commit: Producion Version Stand: Oktober 2014

This commit is contained in:
Christian Berg
2014-11-25 23:43:21 +01:00
commit daa35f5913
3381 changed files with 132346 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% load i18n django_markdown %}
{% block title %}{% trans "Preview your comment" %}{% endblock %}
{% block maincontent %}
{% if form.errors %}
<h2>{% blocktrans count form.errors|length as counter %}Please correct the error below{% plural %}Please correct the errors below{% endblocktrans %}</h2>
{% else %}
<h2>{% trans "Preview your comment" %}</h2>
<table id="comments" class="layout">
<tr id="c{{ comment.id }}">
<td class="avatar">
{% if user.get_profile.thumbnail %}<img src="{{user.get_profile.thumbnail.url}}" alt=""/>{% else %}<img src="{{STATIC_URL}}img/unknown_thumbnail.png" alt=""/>{% endif %}
</td>
<td class="userinfo">
<div class="user">{{user}}</div>
<time class="submit_date" datetime='{% now "c" %}'>{% now "d. m. Y. h:i" %}</time>
</td>
<td class="content">{{comment|markdown_safe}}</td>
</tr>
</table>
{% endif %}
<br class="clear" />
{% include "comments/form.html" %}
{% endblock %}