mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-23 00:32:57 +02:00
[ticket/11103] Restyling notifications list for prosilver
PHPBB3-11103
This commit is contained in:
@@ -134,26 +134,30 @@
|
||||
<li>
|
||||
[ <a href="#" id="notification_list_button" title="{NOTIFICATIONS_COUNT}">{NOTIFICATIONS_COUNT}</a> ] •
|
||||
<div id="notification_list" class="notification_list">
|
||||
<ul class="topiclist forums">
|
||||
<!-- BEGIN notifications -->
|
||||
<li class="row<!-- IF notifications.UNREAD --> bg2<!-- ENDIF -->">
|
||||
<div class="header">
|
||||
{L_NOTIFICATIONS}
|
||||
</div>
|
||||
<ul>
|
||||
<!-- 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 -->
|
||||
<span>
|
||||
{notifications.AVATAR}
|
||||
<span class="notification_title">
|
||||
{notifications.FORMATTED_TITLE}
|
||||
<div class="notification_time">{notifications.TIME}</div>
|
||||
</span>
|
||||
</span>
|
||||
{notifications.AVATAR}
|
||||
<div>
|
||||
<p>{notifications.FORMATTED_TITLE}</p>
|
||||
<p>{notifications.TIME}</p>
|
||||
|
||||
<!-- IF not notifications.URL and notifications.U_MARK_READ -->
|
||||
<p><a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a></p>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
<!-- IF notifications.URL --></a><!-- ENDIF -->
|
||||
<!-- IF not notifications.URL and notifications.UNREAD -->
|
||||
<span class="mark_notification_read">
|
||||
<a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a>
|
||||
</span>
|
||||
<!-- ENDIF -->
|
||||
</li>
|
||||
<!-- END notifications -->
|
||||
</ul>
|
||||
|
||||
<div class="footer">
|
||||
<a style="display: block;" href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
@@ -62,41 +62,35 @@
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<ul class="topiclist">
|
||||
<li class="header">
|
||||
<dl>
|
||||
<dt>{L_NOTIFICATIONS}</dt>
|
||||
<dd class="mark">{L_MARK_READ}</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="notification_list">
|
||||
<ul class="topiclist cplist">
|
||||
<!-- 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 -->">
|
||||
<ul class="topiclist">
|
||||
<li class="header">
|
||||
<dl>
|
||||
<dt>
|
||||
<!-- IF notification_list.URL --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||
<span>
|
||||
{notification_list.AVATAR}
|
||||
<span class="notification_title">
|
||||
{notification_list.FORMATTED_TITLE}
|
||||
<div class="notification_time">{notification_list.TIME}</div>
|
||||
</span>
|
||||
</span>
|
||||
<!-- IF notification_list.URL --></a><!-- ENDIF -->
|
||||
<!-- IF not notifications.URL and notifications.UNREAD -->
|
||||
<span class="mark_notification_read">
|
||||
<a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a>
|
||||
</span>
|
||||
<!-- ENDIF -->
|
||||
</dt>
|
||||
|
||||
<dd class="mark"> <!-- IF notification_list.UNREAD --><input type="checkbox" name="mark[]" value="{notification_list.NOTIFICATION_ID}" /> <dfn>{L_MARK_READ}</dfn><!-- ENDIF --> </dd>
|
||||
<dt>{L_NOTIFICATIONS}</dt>
|
||||
<dd class="mark">{L_MARK_READ}</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!-- END 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 -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<!-- IF notification_list.URL --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||
{notification_list.AVATAR}
|
||||
<div>
|
||||
<p>{notification_list.FORMATTED_TITLE}</p>
|
||||
<p>{notification_list.TIME}</p>
|
||||
|
||||
<!-- IF not notification_list.URL and notification_list.U_MARK_READ -->
|
||||
<p><a href="{notification_list.U_MARK_READ}">{L_MARK_READ}</a></p>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
<!-- IF notification_list.URL --></a><!-- ENDIF -->
|
||||
</dt>
|
||||
|
||||
<dd class="mark"> <!-- IF notification_list.UNREAD --><input type="checkbox" name="mark[]" value="{notification_list.NOTIFICATION_ID}" /> <dfn>{L_MARK_READ}</dfn><!-- ENDIF --> </dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!-- END notification_list -->
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user