fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show publication date for publications
[prawokultury.git]
/
prawokultury
/
templates
/
migdal
/
entry
/
publications
/
entry_detail.html
diff --git
a/prawokultury/templates/migdal/entry/publications/entry_detail.html
b/prawokultury/templates/migdal/entry/publications/entry_detail.html
index
7bb506e
..
5a264d4
100755
(executable)
--- a/
prawokultury/templates/migdal/entry/publications/entry_detail.html
+++ b/
prawokultury/templates/migdal/entry/publications/entry_detail.html
@@
-4,10
+4,12
@@
{% load url from future %}
{% load url from future %}
-{% block
"body"
%}
+{% block
body
%}
{% if not entry.published %}
<p class="warning">{% trans "This entry hasn't been published yet." %}</p>
{% if not entry.published %}
<p class="warning">{% trans "This entry hasn't been published yet." %}</p>
+{% else %}
+ <p>{% trans "Published at" %} {{ entry.first_published_at|date:"DATETIME_FORMAT" }}</p>
{% endif %}
<div class="entry entry-detail entry-{{ entry.type }}">
{% endif %}
<div class="entry entry-detail entry-{{ entry.type }}">