summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-01 16:12:07 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-01 16:33:59 +0100
commit238d19f7e09bfa754f4b91622f1c34d08f2ef26d (patch)
treea0c44ac571570eae50ee6857637b36933b13c8ee /hyperkitty/templates
parentf2c860df51e936b79f05794c17bfb0baf95befa3 (diff)
downloadhyperkitty-238d19f7e09bfa754f4b91622f1c34d08f2ef26d.tar.gz
hyperkitty-238d19f7e09bfa754f4b91622f1c34d08f2ef26d.tar.xz
hyperkitty-238d19f7e09bfa754f4b91622f1c34d08f2ef26d.zip
Minor cosmetics in the navbar, month page title, and user profile
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/base.html6
-rw-r--r--hyperkitty/templates/month_view.html17
-rw-r--r--hyperkitty/templates/user_profile.html2
3 files changed, 14 insertions, 11 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 62d4c4f..f93d007 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -32,10 +32,12 @@
</ul>
+ <a class="brand" href="{% url root %}">{{ app_name|title }}</a>
+
<ul class="nav">
- <li class="root{% if not list_address %} active{% endif %}">
- <a href="{% url root %}">{{ app_name|title }}</a>
+ <li {% if not list_address %} class="active"{% endif %}>
+ <a href="{% url root %}">All lists</a>
</li>
{% if list_address %}
diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html
index 243c8b1..526eb15 100644
--- a/hyperkitty/templates/month_view.html
+++ b/hyperkitty/templates/month_view.html
@@ -16,10 +16,16 @@
<div id="month-view" class="span8">
- <div class="month-header">
- <div class="list-name">{{ mlist.display_name|default:mlist.name|escapeemail }}</div>
- <div class="month-name">{{ month|date:"F Y"|capfirst }}</div>
+ <div class="month-header page-header">
+ <h1>{{ mlist.display_name|default:mlist.name|escapeemail }}
+ <small>{{ month|date:"F Y"|capfirst }}</small>
+ </h1>
<ul class="month-info">
+ {% if mlist.display_name %}
+ <li class="list-address">
+ {{ list_address|escapeemail }}
+ </li>
+ {% endif %}
<li class="participant">
{{ month_participants }} participants
</li>
@@ -27,11 +33,6 @@
{{ month_discussions }} discussions
</li>
</ul>
- {% if mlist.display_name %}
- <p class="list-address">
- {{ list_address|escapeemail }}
- </p>
- {% endif %}
</div>
{% for thread in threads %}
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index 491d75e..c967be6 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -8,7 +8,7 @@
{% endblock %}
{% block content %}
- <h1>User Profile <span>- {{ user }}</span></h1>
+ <h1>{{ user }}</h1>
<table class="table table-bordered table-striped user-data">
<tbody>