aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template/overall_header.html
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2012-10-16 10:51:07 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2012-10-16 10:51:07 -0500
commitc8b66a26ef4f6ac2a71980c75a13356dcda72dd6 (patch)
tree2139ad7b5a0af15e712029c7df1d3466c9344dfd /phpBB/styles/subsilver2/template/overall_header.html
parenta2d6e40f1b7e359b0be87452a01eb3e46b4694e8 (diff)
downloadforums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar
forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar.gz
forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar.bz2
forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar.xz
forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.zip
[ticket/11103] Mark read link if notification has no URL to view it
Other style stuff PHPBB3-11103
Diffstat (limited to 'phpBB/styles/subsilver2/template/overall_header.html')
-rw-r--r--phpBB/styles/subsilver2/template/overall_header.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html
index e41095ad38..560f6a32b3 100644
--- a/phpBB/styles/subsilver2/template/overall_header.html
+++ b/phpBB/styles/subsilver2/template/overall_header.html
@@ -154,19 +154,22 @@ function marklist(id, name, state)
<div id="notification_list" class="notification_list">
<table class="tablebg" width="310px" cellspacing="1">
<!-- BEGIN notifications -->
- <tr>
+ <tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->">
<!-- IF notifications.AVATAR -->
- <td class="row1" width="50px">
+ <td width="50px">
{notifications.AVATAR}
</td>
- <td class="row1" valign="top">
+ <td valign="top">
<!-- ELSE -->
- <td class="row1" colspan="2" valign="top">
+ <td colspan="2" valign="top">
<!-- ENDIF -->
- <!-- IF notifications.URL or notifications.U_MARK_READ --><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 -->
{notifications.FORMATTED_TITLE}
<!-- IF notifications.URL --></a><!-- ENDIF --><br />
{notifications.TIME}
+ <!-- IF not notifications.URL and notifications.UNREAD -->
+ <br /><a href="{notifications.U_MARK_READ}">{L_MARK_READ}</a>
+ <!-- ENDIF -->
</td>
</tr>
<!-- END notifications -->