Merge pull request #12570 from haheute/issue-11986-dm-link

Add link to heading in direct messages list
This commit is contained in:
Hypolite Petovan 2022-12-30 01:52:13 -05:00 committed by GitHub
commit 5af956b92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,15 @@
<div class="media-body"> <div class="media-body">
<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">
{{if !$seen}}
<strong>
{{/if}}
<a href="message/{{$id}}">{{$from_name}}</a>
{{if !$seen}}
</strong>
{{/if}}
</h4>
<div class="mail-list-subject"> <div class="mail-list-subject">
<a href="message/{{$id}}"> <a href="message/{{$id}}">
{{if !$seen}} {{if !$seen}}
@ -21,7 +29,8 @@
{{if !$seen}} {{if !$seen}}
</strong> </strong>
{{/if}} {{/if}}
</a></div> </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>