mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11103] Message of no notifications if you have none
PHPBB3-11103
This commit is contained in:
parent
52bb4a1bd6
commit
6861af22ee
3 changed files with 25 additions and 12 deletions
|
@ -382,6 +382,7 @@ $lang = array_merge($lang, array(
|
||||||
'NEXT_STEP' => 'Next',
|
'NEXT_STEP' => 'Next',
|
||||||
'NEVER' => 'Never',
|
'NEVER' => 'Never',
|
||||||
'NO' => 'No',
|
'NO' => 'No',
|
||||||
|
'NO_NOTIFICATIONS' => 'You have no notifications',
|
||||||
'NOT_ALLOWED_MANAGE_GROUP' => 'You are not allowed to manage this group.',
|
'NOT_ALLOWED_MANAGE_GROUP' => 'You are not allowed to manage this group.',
|
||||||
'NOT_AUTHORISED' => 'You are not authorised to access this area.',
|
'NOT_AUTHORISED' => 'You are not authorised to access this area.',
|
||||||
'NOT_WATCHING_FORUM' => 'You are no longer subscribed to updates on this forum.',
|
'NOT_WATCHING_FORUM' => 'You are no longer subscribed to updates on this forum.',
|
||||||
|
|
|
@ -139,6 +139,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
<!-- IF not .notifications -->
|
||||||
|
<li>
|
||||||
|
{L_NO_NOTIFICATIONS}
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- BEGIN notifications -->
|
<!-- BEGIN notifications -->
|
||||||
<li class="<!-- IF notifications.UNREAD --> bg2<!-- ENDIF -->">
|
<li class="<!-- IF notifications.UNREAD --> bg2<!-- ENDIF -->">
|
||||||
<!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
<!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||||
|
|
|
@ -70,6 +70,13 @@
|
||||||
<dd class="mark">{L_MARK_READ}</dd>
|
<dd class="mark">{L_MARK_READ}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
|
<!-- IF not .notifications -->
|
||||||
|
<li>
|
||||||
|
<dl>
|
||||||
|
<dt>{L_NO_NOTIFICATIONS}</dt>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- BEGIN notification_list -->
|
<!-- 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 -->">
|
<li class="row<!-- IF notification_list.UNREAD --> bg3<!-- ELSE --><!-- IF notification_list.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- ENDIF -->">
|
||||||
<dl>
|
<dl>
|
||||||
|
|
Loading…
Add table
Reference in a new issue