diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 19:41:34 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 19:41:34 +1100 |
| commit | e507119e1737312ac00f2d2df9c3b161b2f60812 (patch) | |
| tree | f94ab3aa9a789144122dfa25fd2db247d897187c /templates/index.html | |
| parent | dfaf58d78e95e9725ecf243a68fce44359e21fe4 (diff) | |
move PM notification to template
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index c0196e93..37577ff9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -25,9 +25,9 @@ }
{% endraw %}</style>{% endif %}
</head>
-<body>
+<body>
{{ boardlist.top }}
- {% if pm %}<div class="top_notice">{{ pm }}</div><hr />{% endif %}
+ {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
{% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_height %}style="width:{% if config.banner_width %}{{ config.banner_width }}px{% endif %};height:{{ config.banner_height }}px" {% endif %}alt="" />{% endif %}
<h1>{{ board.url }} - {{ board.name }}</h1>
<div class="title">{% if board.title %}{{ board.title }}{% endif %}<p>{% if mod %}<a href="?/">Return to dashboard</a>{% endif %}</p></div>
@@ -161,4 +161,4 @@ <p class="unimportant" style="text-align:center;">All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.</p>
</body>
-</html>
\ No newline at end of file +</html>
|
