diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-04 14:07:05 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-04 14:07:05 +0200 |
commit | 4decceea760843dcc4bc4189026cdda1ecc4e32d (patch) | |
tree | 5ae02903471ee836154d35f865bffeb3aef313c0 /view/tpl | |
parent | 26b97722c619a37bf343a2cbdc148c17520857d7 (diff) | |
download | volse-hubzilla-4decceea760843dcc4bc4189026cdda1ecc4e32d.tar.gz volse-hubzilla-4decceea760843dcc4bc4189026cdda1ecc4e32d.tar.bz2 volse-hubzilla-4decceea760843dcc4bc4189026cdda1ecc4e32d.zip |
add anchors to messages and links
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/mail_conv.tpl | 1 | ||||
-rwxr-xr-x | view/tpl/mail_list.tpl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl index 4f54f1a6a..7529f979a 100755 --- a/view/tpl/mail_conv.tpl +++ b/view/tpl/mail_conv.tpl @@ -1,4 +1,5 @@ <div id="mail-{{$mail.id}}" class="mail-conv-outside-wrapper"> + <a name="mail-{{$mail.id}}"></a> <div class="mail-conv-sender" > <a href="{{$mail.from_url}}"><img class="mail-conv-sender-photo" src="{{$mail.from_photo}}" alt="{{$mail.from_name}}" /></a> </div> diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl index fc9b5afa8..7571fd783 100755 --- a/view/tpl/mail_list.tpl +++ b/view/tpl/mail_list.tpl @@ -1,5 +1,5 @@ <li> - <a href="mail/{{$message.mailbox}}/{{$message.id}}" class="{{if $message.selected}}active{{/if}}"> + <a href="mail/{{$message.mailbox}}/{{$message.id}}#mail-{{$message.id}}" class="{{if $message.selected}}active{{/if}}"> <span class="{{if $message.seen}}seen{{else}}unseen{{/if}}">{{$message.subject}}</span><br> <span class="conv-participants">{{$message.from_name}} > {{$message.to_name}}</span><br> <span class="wall-item-ago autotime" title="{{$message.date}}">{{$message.date}}</span> |