Projet

Général

Profil

« Précédent | Suivant » 

Révision 98bf28f8

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

modification time displayed in announces list

Voir les différences:

corbo/static/css/corbo.css
177 177
    font-weight: bold;
178 178
}
179 179

  
180
.text_preview {
180
.preview {
181 181
    padding-left: 10px;
182 182
    font-size: .8em;
183 183
    color: #777;
......
220 220

  
221 221
.announce {
222 222
    margin-left: 25px;
223
    width: 65%;
224
}
225

  
226
#management .datetime {
227
    width: 15%;
228
    float: right;
229
    margin-right: 35px;
223 230
}
224 231

  
225 232
.empty {
corbo/templates/corbo/manage.html
35 35
    {% endif %}
36 36
    {% endif %}
37 37
  </div>
38
  <div class="preview datetime">
39
    {% blocktrans with mtime=obj.mtime|date:'DATETIME_FORMAT' %}
40
    Modified on {{ mtime }}
41
    {% endblocktrans %}
42
  </div>
38 43
  <div class="actions">
39 44
    <span><a class="icon edit" href="{% url 'edit_announce' obj.id %}" rel="popup"></a></span>
40 45
    <span><a class="icon delete" href="{% url 'delete_announce' obj.id %}" rel="popup"></a></span>
41 46
  </div>
42 47
  <div class="announce">
43 48
    <div class="title">{{ obj.title }}</div>
44
    <div class="text_preview">{{ obj.text|safe|truncatechars_html:128 }}</div>
49
    <div class="preview">{{ obj.text|safe|truncatechars_html:128 }}</div>
45 50
  </div>
46 51
</li>
47 52
{% empty %}

Formats disponibles : Unified diff