view sg101/templates/messages/messages_base.html @ 1160:b84ce2d7e93d

New template for displaying django messages. New common template for rendering django messages in the new V3 Foundation style.
author Brian Neal <bgneal@gmail.com>
date Tue, 24 Jan 2017 19:22:29 -0600
parents 62cfdddd584a
children
line wrap: on
line source
{% extends 'v3/base.html' %}
{% load static from staticfiles %}
{% load script_tags %}
{% block content %}
<h2>Your Private Messages</h2>

{% include 'core/message_list.html' %}

<ul class="vertical medium-horizontal menu">
   <li{% if tab == 'inbox' %} class="active"{% endif %}>
      <a href="{% url 'messages-inbox' %}">Inbox</a>
   </li>
   <li{% if tab == 'compose' %} class="active"{% endif %}>
      <a href="{% url 'messages-compose' %}">Compose</a>
   </li>
   <li{% if tab == 'outbox' %} class="active"{% endif %}>
      <a href="{% url 'messages-outbox' %}">Outbox</a>
   </li>
   <li{% if tab == 'trash' %} class="active"{% endif %}>
      <a href="{% url 'messages-trash' %}">Trash</a>
   </li>
   <li{% if tab == 'options' %} class="active"{% endif %}>
      <a href="{% url 'messages-options' %}">Options</a>
   </li>
</ul>

<hr />

{% block messages_content %}{% endblock %}

{% endblock %}