diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-05-01 23:54:58 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-05-01 23:54:58 +0300 |
commit | 47cc21441b437fe148c72bd181059728b47bdf9b (patch) | |
tree | cd96c0a704cb31837c6e0b2e9affe998d24acd7b /servo/templates/notes/view_article.html | |
parent | 65df597329bbb602dd382695c639aab3776123ea (diff) | |
parent | 82e1fe63447f5c4d33d8a3ed7c365e7eab1006c0 (diff) | |
download | Servo-47cc21441b437fe148c72bd181059728b47bdf9b.tar.gz Servo-47cc21441b437fe148c72bd181059728b47bdf9b.tar.bz2 Servo-47cc21441b437fe148c72bd181059728b47bdf9b.zip |
Merge branch 'develop'
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..d0576eb --- /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' 'articles' note.pk 'read' %}" class="nofollow">{{ read_title }}</a></li> + <li><a href="{% url 'notes-toggle_flag' 'articles' note.pk 'flagged' %}" class="nofollow">{{ 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 %} |