aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-19 20:28:09 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-19 20:28:09 +0300
commit32906d5bbc8afdbb1017fd7339315fafe2394007 (patch)
treecd32f805590405bce9d5e97e5167c04d1e884e1e /servo/templates/orders
parentce8012b7e4651eb3fa09849c3cef6fd027da87b6 (diff)
downloadServo-32906d5bbc8afdbb1017fd7339315fafe2394007.tar.gz
Servo-32906d5bbc8afdbb1017fd7339315fafe2394007.tar.bz2
Servo-32906d5bbc8afdbb1017fd7339315fafe2394007.zip
Make note type field editable
Diffstat (limited to 'servo/templates/orders')
-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 %}