diff --git a/nuntium/static/sass/manager/_bootstrap.scss b/nuntium/static/sass/manager/_bootstrap.scss index 901933a3..3de1c2fc 100644 --- a/nuntium/static/sass/manager/_bootstrap.scss +++ b/nuntium/static/sass/manager/_bootstrap.scss @@ -15,7 +15,7 @@ @import "../bootstrap/component-animations"; @import "../bootstrap/dropdowns"; -// @import "../bootstrap/button-groups"; +@import "../bootstrap/button-groups"; @import "../bootstrap/input-groups"; @import "../bootstrap/navs"; @import "../bootstrap/navbar"; diff --git a/nuntium/static/sass/manager/_style.scss b/nuntium/static/sass/manager/_style.scss index f3065927..0dce6fd2 100644 --- a/nuntium/static/sass/manager/_style.scss +++ b/nuntium/static/sass/manager/_style.scss @@ -20,6 +20,13 @@ label { font-weight: normal; } +caption { + border-bottom:1px solid $gray-lighter; + h3 { + font-size: 1.25em; + } +} + .manager-page { border-radius: 5px; margin-bottom: 3em; diff --git a/nuntium/templates/nuntium/profiles/messages_per_instance.html b/nuntium/templates/nuntium/profiles/messages_per_instance.html index 635e2319..2fe9ffc2 100644 --- a/nuntium/templates/nuntium/profiles/messages_per_instance.html +++ b/nuntium/templates/nuntium/profiles/messages_per_instance.html @@ -24,24 +24,25 @@

{% trans "Messages" %}

{% blocktrans count message_count=writeitinstance.message_set.count %} - There is 1 message + There is 1 message. {% plural %} - There are {{ message_count }} messages + There are {{ message_count }} total messages. {% endblocktrans %} + {% if writeitinstance.config.moderation_needed_in_all_messages %} + 5 messages await moderation. + {% endif %}
+ {% if writeitinstance.config.moderation_needed_in_all_messages %} {% autopaginate message_list %} {% paginate %} + - - {% if writeitinstance.config.moderation_needed_in_all_messages %} - - {% endif %} - + @@ -63,18 +64,6 @@

- {% if message.public %} -
- -
- {% else %} -
- -
- {% endif %} - -

- {% else %} - - {% endif %} - {% endif %} - + + + + + + + + + + + +

{% trans "Messages awaiting moderation" %}

{% trans "Message" %} {% trans "Replies"%}{% trans "Public?" %} {% trans "Confirmed?" %}{% trans "Moderated?" %}{% trans "Make private/public"%}{% trans "Public"%}
{% if message.confirmated %}
@@ -86,33 +75,17 @@

-
-

-
-
{% csrf_token %} -
-
-
{% if message.public %}
{% csrf_token %} - +
{% else %}
{% csrf_token %} - +
{% endif %} @@ -125,6 +98,24 @@

+

{% trans "All messages" %}

{% trans "Message" %}{% trans "Replies"%}{% trans "Confirmed?" %}{% trans "Public"%}
+ {% paginate %}