Mercurial > public > sg101
view sg101/templates/messages/view_message.html @ 1018:02ae9a4a846a
ManifestStaticFilesStorage: get rid of STATIC_URL in templates.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 21:49:39 -0600 |
parents | 95462f4adb94 |
children | 62cfdddd584a |
line wrap: on
line source
{% extends 'messages/messages_base.html' %} {% load static from staticfiles %} {% load core_tags %} {% load script_tags %} {% block custom_js %} {% if form %} {% script_tags 'jquery-ui' %} {% script_tags 'markitup' %} {% endif %} {% endblock %} {% block messages_content %} <h3>View Private Message</h3> {% include "messages/message.html" %} {% if form %} <form action="." method="post" id="msg_compose_form">{% csrf_token %} <fieldset> <legend>Compose Reply</legend> <table> {{ form.as_table }} <tr> <td> </td> <td> {% comment_dialogs %} <input type="submit" name="submit_button" value="Send Reply" /> </td> </tr> </table> </fieldset> </form> {% endif %} {% if msg_flag %} <div class="error"> You reported this message to the admin on {{ msg_flag.flag_date|date:"F d, Y" }}. </div> {% else %} <div class="notice"> <img src="{% static "icons/flag_red.png" %}" alt="Report this message" /> <a href="{% url "messages-report" msg.id %}">Report this message for spam or abuse</a>. </div> {% endif %} {% endblock %}