aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/notes/list_notes.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-03-21 19:14:37 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-03-21 19:14:37 +0200
commit1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a (patch)
tree61dd9498cac2b20501bf96f54a95a89d714d4449 /servo/templates/notes/list_notes.html
parentf30d6d73513a5535cae4d97ee2cc85f01660750c (diff)
downloadServo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.tar.gz
Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.tar.bz2
Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.zip
Adding GSX articles
Diffstat (limited to 'servo/templates/notes/list_notes.html')
-rwxr-xr-xservo/templates/notes/list_notes.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/servo/templates/notes/list_notes.html b/servo/templates/notes/list_notes.html
index fdbc853..30fdb3d 100755
--- a/servo/templates/notes/list_notes.html
+++ b/servo/templates/notes/list_notes.html
@@ -35,6 +35,7 @@
<ul class="nav nav-list">
<li class="nav-header">{% trans "Messages" %}</li>
<li class="{% active request "inbox" %}"><a href="{% url 'notes-list_notes' kind="inbox" %}">{% trans "Inbox" %} <span class="badge pull-right">{{ inbox_count|safe }}</span></a></li>
+ <li class="{% active request "articles" %}"><a href="{% url 'notes-list_notes' kind="articles" %}">{% trans "GSX" %}</a></li>
<li class="{% active request "flagged" %}"><a href="{% url 'notes-list_notes' kind="flagged" %}">{% trans "Flagged" %}</a></li>
<li class="{% active request "sent" %}"><a href="{% url 'notes-list_notes' kind="sent" %}">{% trans "Sent" %}</a></li>
<!--<li class="{% active request "escalations" %}"><a href="{% url 'notes-list_notes' kind="escalations" %}">{% trans "Escalations" %}</a></li>//-->
@@ -48,9 +49,9 @@
{% for note in notes %}
<li class="{% active request 'notes' kind note.pk 'view' %}">
<a href="{% url 'notes-view_note' kind note.pk %}">
- <strong>{{ note.sender }}</strong><span class="pull-right">{{ note.created_at|date:"SHORT_DATE_FORMAT" }}</span>
+ <strong>{{ note.get_sender }}</strong><span class="pull-right">{{ note.get_creation_date|date:"SHORT_DATE_FORMAT" }}</span>
<br/>
- <small>{{ note.body|truncatechars:30 }}</small>
+ <small>{{ note.get_body|truncatechars:30 }}</small>
</a>
</li>
{% empty %}