[ticket/11103] Message of no notifications if you have none

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-10-20 19:19:26 -05:00
parent 52bb4a1bd6
commit 6861af22ee
3 changed files with 25 additions and 12 deletions

View file

@ -382,6 +382,7 @@ $lang = array_merge($lang, array(
'NEXT_STEP' => 'Next',
'NEVER' => 'Never',
'NO' => 'No',
'NO_NOTIFICATIONS' => 'You have no notifications',
'NOT_ALLOWED_MANAGE_GROUP' => 'You are not allowed to manage this group.',
'NOT_AUTHORISED' => 'You are not authorised to access this area.',
'NOT_WATCHING_FORUM' => 'You are no longer subscribed to updates on this forum.',

View file

@ -139,6 +139,11 @@
</div>
<ul>
<!-- IF not .notifications -->
<li>
{L_NO_NOTIFICATIONS}
</li>
<!-- ENDIF -->
<!-- BEGIN notifications -->
<li class="<!-- IF notifications.UNREAD --> bg2<!-- ENDIF -->">
<!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->

View file

@ -70,6 +70,13 @@
<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>