modification time displayed in announces list
This commit is contained in:
parent
bc1b589781
commit
98bf28f82f
|
@ -177,7 +177,7 @@ div.user a.logout:before {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.text_preview {
|
||||
.preview {
|
||||
padding-left: 10px;
|
||||
font-size: .8em;
|
||||
color: #777;
|
||||
|
@ -220,6 +220,13 @@ div.user a.logout:before {
|
|||
|
||||
.announce {
|
||||
margin-left: 25px;
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
#management .datetime {
|
||||
width: 15%;
|
||||
float: right;
|
||||
margin-right: 35px;
|
||||
}
|
||||
|
||||
.empty {
|
||||
|
|
|
@ -35,13 +35,18 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="preview datetime">
|
||||
{% blocktrans with mtime=obj.mtime|date:'DATETIME_FORMAT' %}
|
||||
Modified on {{ mtime }}
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
<div class="actions">
|
||||
<span><a class="icon edit" href="{% url 'edit_announce' obj.id %}" rel="popup"></a></span>
|
||||
<span><a class="icon delete" href="{% url 'delete_announce' obj.id %}" rel="popup"></a></span>
|
||||
</div>
|
||||
<div class="announce">
|
||||
<div class="title">{{ obj.title }}</div>
|
||||
<div class="text_preview">{{ obj.text|safe|truncatechars_html:128 }}</div>
|
||||
<div class="preview">{{ obj.text|safe|truncatechars_html:128 }}</div>
|
||||
</div>
|
||||
</li>
|
||||
{% empty %}
|
||||
|
|
Reference in New Issue