aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders/notes.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/orders/notes.html')
-rwxr-xr-xservo/templates/orders/notes.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/servo/templates/orders/notes.html b/servo/templates/orders/notes.html
index e7975e6..59de5c8 100755
--- a/servo/templates/orders/notes.html
+++ b/servo/templates/orders/notes.html
@@ -19,11 +19,11 @@
</a>
<div class="btn-group pull-right">
<a href="{% url 'notes-reply' node.pk %}" class="btn btn-small" title="{% trans "Reply" %}"><i class="icon-share-alt"></i></a>
- {% if perms.servo.change_note and order.is_editable %}
+ {% if perms.servo.change_note and order.is_editable %}
<a href="{{ node.get_edit_url }}" class="btn btn-small"><i class="icon-pencil"></i></a>
- {% else %}
+ {% else %}
<a href="#" class="btn btn-small disabled"><i class="icon-pencil"></i></a>
- {% endif %}
+ {% endif %}
<a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-cog"></i> <span class="caret"></span>
</a>
@@ -51,7 +51,7 @@
</ul>
</div>
<div class="media-body">
- <h5 class="media-heading">{{ node.get_sender_name }} <span class="muted">{{ node.created_at|relative_date }}</span>
+ <h5 class="media-heading">{{ node.get_heading }} <span class="muted">{{ node.created_at|relative_date }}</span>
{% if node.escalation.is_submitted %}
<small class="muted"><i class="icon-globe"></i> {{ node.escalation.escalation_id }}</small>
{% endif %}