diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-03-21 19:14:37 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-03-21 19:14:37 +0200 |
commit | 1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a (patch) | |
tree | 61dd9498cac2b20501bf96f54a95a89d714d4449 /servo/templates/notes/view_article.html | |
parent | f30d6d73513a5535cae4d97ee2cc85f01660750c (diff) | |
download | Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.tar.gz Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.tar.bz2 Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.zip |
Adding GSX articles
Diffstat (limited to 'servo/templates/notes/view_article.html')
-rw-r--r-- | servo/templates/notes/view_article.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/servo/templates/notes/view_article.html b/servo/templates/notes/view_article.html new file mode 100644 index 0000000..99fd486 --- /dev/null +++ b/servo/templates/notes/view_article.html @@ -0,0 +1,33 @@ +{% extends "notes/list_notes.html" %} +{% load servo_tags %} +{% 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' note.pk 'read' %}" class="nofollow">{{ note.get_read_title }}</a></li> + <li><a href="{% url 'notes-toggle_flag' 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.get_sender }}</p> + <p>{% trans "Priority" %}: {{ note.priority }}</p> + <p>{% trans "Created" %}: {{ note.date_created }}</p> + <p>{% trans "Subject" %}: {{ note.get_title }}</p> + </div> + <hr/> + {{ note.summary|markdown }} + {{ note.content|markdown }} + <div class="form-actions"> + <div class="pull-right"> + <a href="#" class="btn btn-default">{% trans "Reload" %}</a> + <a href="#" class="btn btn-default">{% trans "Acknowledge" %}</a> + </div> + </div> +{% endblock view_message %} |