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/page.html | |
| parent | dfaf58d78e95e9725ecf243a68fce44359e21fe4 (diff) | |
move PM notification to template
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html index f246757b..5186dd6d 100644 --- a/templates/page.html +++ b/templates/page.html @@ -10,7 +10,7 @@ <script type="text/javascript" src="{{ config.url_javascript }}"></script>
</head>
<body>
- {% 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 %}
<h1>{{ title }}</h1>
<div class="title">{% if subtitle %}{{subtitle}}{% endif %}<p>{% if mod %}<a href="?/">Return to dashboard</a>{% endif %}</p></div>
{{ body }}
|
