mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11103] If no avatar, do not display an empty box in subsilver2
PHPBB3-11103
This commit is contained in:
parent
077c526f15
commit
a2d6e40f1b
2 changed files with 16 additions and 8 deletions
|
@ -155,10 +155,14 @@ function marklist(id, name, state)
|
||||||
<table class="tablebg" width="310px" cellspacing="1">
|
<table class="tablebg" width="310px" cellspacing="1">
|
||||||
<!-- BEGIN notifications -->
|
<!-- BEGIN notifications -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="50px">
|
<!-- IF notifications.AVATAR -->
|
||||||
{notifications.AVATAR}
|
<td class="row1" width="50px">
|
||||||
</td>
|
{notifications.AVATAR}
|
||||||
<td class="row1" valign="top">
|
</td>
|
||||||
|
<td class="row1" valign="top">
|
||||||
|
<!-- ELSE -->
|
||||||
|
<td class="row1" 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 or notifications.U_MARK_READ --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||||
{notifications.FORMATTED_TITLE}
|
{notifications.FORMATTED_TITLE}
|
||||||
<!-- IF notifications.URL --></a><!-- ENDIF --><br />
|
<!-- IF notifications.URL --></a><!-- ENDIF --><br />
|
||||||
|
|
|
@ -89,10 +89,14 @@
|
||||||
</tr>
|
</tr>
|
||||||
<!-- BEGIN notification_list -->
|
<!-- BEGIN notification_list -->
|
||||||
<!-- IF notification_list.UNREAD --><tr class="row3"><!-- ELSEIF notification_list.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
<!-- IF notification_list.UNREAD --><tr class="row3"><!-- ELSEIF notification_list.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
<td width="50px">
|
<!-- IF notification_list.AVATAR -->
|
||||||
{notification_list.AVATAR}
|
<td width="50px">
|
||||||
</td>
|
{notification_list.AVATAR}
|
||||||
<td valign="top">
|
</td>
|
||||||
|
<td valign="top">
|
||||||
|
<!-- ELSE -->
|
||||||
|
<td colspan="2" valign="top">
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- IF notification_list.URL or notification_list.U_MARK_READ --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
<!-- IF notification_list.URL or notification_list.U_MARK_READ --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||||
{notification_list.FORMATTED_TITLE}
|
{notification_list.FORMATTED_TITLE}
|
||||||
<!-- IF notification_list.URL --></a><!-- ENDIF --><br />
|
<!-- IF notification_list.URL --></a><!-- ENDIF --><br />
|
||||||
|
|
Loading…
Add table
Reference in a new issue