aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/notes/view_note.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-11-03 09:44:55 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-11-03 09:44:55 +0200
commit1ac8b3154e0dbbe065a37ac66eb111832a7b67db (patch)
tree729a882b80dc01fd957fcaf5ca02396df21b533a /servo/templates/notes/view_note.html
parent920bda8b69d2f2c078d369fe25684c437c50e40f (diff)
downloadServo-1ac8b3154e0dbbe065a37ac66eb111832a7b67db.tar.gz
Servo-1ac8b3154e0dbbe065a37ac66eb111832a7b67db.tar.bz2
Servo-1ac8b3154e0dbbe065a37ac66eb111832a7b67db.zip
Cleanup
Diffstat (limited to 'servo/templates/notes/view_note.html')
-rwxr-xr-xservo/templates/notes/view_note.html58
1 files changed, 29 insertions, 29 deletions
diff --git a/servo/templates/notes/view_note.html b/servo/templates/notes/view_note.html
index 01118cf..7ad19dd 100755
--- a/servo/templates/notes/view_note.html
+++ b/servo/templates/notes/view_note.html
@@ -3,36 +3,36 @@
{% load i18n %}
{% block note_buttons %}
- <div class="btn-group">
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
- <i class="icon-flag"></i> <span class="caret"></span>
- </a>
- <ul class="dropdown-menu">
- <li><a href="{% url 'notes-toggle_flag' 'inbox' note.pk 'read' %}" class="nofollow">{{ note.get_read_title }}</a></li>
- <li><a href="{% url 'notes-toggle_flag' 'inbox' note.pk 'flagged' %}" class="nofollow">{{ note.get_flagged_title }}</a></li>
- </ul>
- </div>
+<div class="btn-group">
+ <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <i class="icon-flag"></i> <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="{% url 'notes-toggle_flag' 'inbox' note.pk 'read' %}" class="nofollow">{{ note.get_read_title }}</a></li>
+ <li><a href="{% url 'notes-toggle_flag' 'inbox' note.pk 'flagged' %}" class="nofollow">{{ note.get_flagged_title }}</a></li>
+ </ul>
+</div>
{% endblock note_buttons %}
{% block view_message %}
- <div class="message-header">
- <p>{% trans "From" %}: {{ note.sender }}</p>
- {% if note.order.id %}
- <p>{% trans "Service Order" %}: <a href="{% url 'orders-edit' note.order.id %}">{{ note.order.code }}</a></p>
- {% endif %}
- <p>{% trans "Created" %}: {{ note.created_at|relative_date }}</p>
- <p>{% trans "Subject" %}: {{ note.subject }}</p>
- </div>
- <hr/>
- {{ note.body|markdown }}
- {% for a in note.attachments.all %}
- <a class="label label-info window" href="{{ a.content.url }}"><i class="icon-download icon-white"></i> {{ a }}</a>
- {% endfor %}
- <div class="form-actions">
- <div class="pull-right">
- <a href="{% url 'orders-create_with_note' note_id=note.id %}" class="btn {% if note.order.id %} disabled {% endif %}">{% trans "Create Order" %}</a>
- <a href="{% url 'notes-delete_note' note.id %}" class="btn btn-danger" data-modal="#modal">{% trans "Delete" %}</a>
- <a href="{% url 'notes-reply' parent=note.id %}" class="btn btn-primary">{% trans "Reply" %}</a>
- </div>
- </div>
+<div class="message-header">
+ <p>{% trans "From" %}: {{ note.sender }}</p>
+ {% if note.order.id %}
+ <p>{% trans "Service Order" %}: <a href="{% url 'orders-edit' note.order.id %}">{{ note.order.code }}</a></p>
+ {% endif %}
+ <p>{% trans "Created" %}: {{ note.created_at|relative_date }}</p>
+ <p>{% trans "Subject" %}: {{ note.subject }}</p>
+</div>
+<hr/>
+{{ note.body|markdown }}
+{% for a in note.attachments.all %}
+<a class="label label-info window" href="{{ a.content.url }}"><i class="icon-download icon-white"></i> {{ a }}</a>
+{% endfor %}
+<div class="form-actions">
+ <div class="pull-right">
+ <a href="{% url 'orders-create_with_note' note_id=note.id %}" class="btn {% if note.order.id %} disabled {% endif %}">{% trans "Create Order" %}</a>
+ <a href="{% url 'notes-delete_note' note.id %}" class="btn btn-danger" data-modal="#modal">{% trans "Delete" %}</a>
+ <a href="{% url 'notes-reply' parent=note.id %}" class="btn btn-primary">{% trans "Reply" %}</a>
+ </div>
+</div>
{% endblock view_message %}