Fix unread message conversation title display
This commit is contained in:
parent
12dfb8e5cf
commit
d838e6d0ec
|
@ -499,7 +499,6 @@ function render_messages(array $msg, $t)
|
||||||
$participants = L10n::t("%s and You", $rr['from-name']);
|
$participants = L10n::t("%s and You", $rr['from-name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$subject_e = (($rr['mailseen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>');
|
|
||||||
$body_e = $rr['body'];
|
$body_e = $rr['body'];
|
||||||
$to_name_e = $rr['name'];
|
$to_name_e = $rr['name'];
|
||||||
|
|
||||||
|
@ -517,7 +516,7 @@ function render_messages(array $msg, $t)
|
||||||
'$from_addr' => defaults($contact, 'addr', ''),
|
'$from_addr' => defaults($contact, 'addr', ''),
|
||||||
'$sparkle' => ' sparkle',
|
'$sparkle' => ' sparkle',
|
||||||
'$from_photo' => ProxyUtils::proxifyUrl($from_photo, false, ProxyUtils::SIZE_THUMB),
|
'$from_photo' => ProxyUtils::proxifyUrl($from_photo, false, ProxyUtils::SIZE_THUMB),
|
||||||
'$subject' => $subject_e,
|
'$subject' => $rr['title'],
|
||||||
'$delete' => L10n::t('Delete conversation'),
|
'$delete' => L10n::t('Delete conversation'),
|
||||||
'$body' => $body_e,
|
'$body' => $body_e,
|
||||||
'$to_name' => $to_name_e,
|
'$to_name' => $to_name_e,
|
||||||
|
|
|
@ -12,7 +12,16 @@
|
||||||
<div class="text-muted time ago pull-right" title="{{$date}}">{{$ago}}</div>
|
<div class="text-muted time ago pull-right" title="{{$date}}">{{$ago}}</div>
|
||||||
|
|
||||||
<h4 class="media-heading">{{$from_name}}</h4>
|
<h4 class="media-heading">{{$from_name}}</h4>
|
||||||
<div class="mail-list-subject"><a href="message/{{$id}}">{{$subject}}</a></div>
|
<div class="mail-list-subject">
|
||||||
|
<a href="message/{{$id}}">
|
||||||
|
{{if !$seen}}
|
||||||
|
<strong>
|
||||||
|
{{/if}}
|
||||||
|
{{$subject}}
|
||||||
|
{{if !$seen}}
|
||||||
|
</strong>
|
||||||
|
{{/if}}
|
||||||
|
</a></div>
|
||||||
<a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="pull-right" onmouseover="imgbright(this);" onmouseout="imgdull(this);">
|
<a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="pull-right" onmouseover="imgbright(this);" onmouseout="imgdull(this);">
|
||||||
<i class="faded-icon fa fa-trash"></i>
|
<i class="faded-icon fa fa-trash"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user