aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-07 11:39:33 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-07 11:39:33 +0100
commit899d85792914c6095996fa47b389b1b945501757 (patch)
tree2faa09efc7ec711d4ed8354973b2f89a612e0f3d /phpBB/styles/prosilver/template/ucp_notifications.html
parentMerge remote-tracking branch 'EXreaction/ticket/11408' into develop (diff)
downloadphpbb-899d85792914c6095996fa47b389b1b945501757.tar.gz
phpbb-899d85792914c6095996fa47b389b1b945501757.tar.bz2
phpbb-899d85792914c6095996fa47b389b1b945501757.zip
[ticket/11390] Hide pagination when there are no notifications
PHPBB3-11390
Diffstat (limited to 'phpBB/styles/prosilver/template/ucp_notifications.html')
-rw-r--r--phpBB/styles/prosilver/template/ucp_notifications.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_notifications.html b/phpBB/styles/prosilver/template/ucp_notifications.html
index a2d558d0ca..e407e47fea 100644
--- a/phpBB/styles/prosilver/template/ucp_notifications.html
+++ b/phpBB/styles/prosilver/template/ucp_notifications.html
@@ -48,6 +48,7 @@
<!-- END notification_types -->
</ul>
<!-- ELSE -->
+ <!-- IF .notification_list -->
<!-- IF .pagination or TOTAL_COUNT -->
<div class="topic-actions">
<div class="pagination">
@@ -70,13 +71,6 @@
<dd class="mark">{L_MARK_READ}</dd>
</dl>
</li>
- <!-- IF not .notifications -->
- <li>
- <dl>
- <dt>{L_NO_NOTIFICATIONS}</dt>
- </dl>
- </li>
- <!-- ENDIF -->
<!-- BEGIN notification_list -->
<li class="row<!-- IF notification_list.UNREAD --> bg3<!-- ELSE --><!-- IF notification_list.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- ENDIF -->">
<dl>
@@ -114,6 +108,10 @@
</div>
<!-- ENDIF -->
+ <!-- ELSE -->
+ <p><strong>{L_NO_NOTIFICATIONS}</strong></p>
+ <!-- ENDIF -->
+
<!-- ENDIF -->
</div>
</div>