aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-04 14:07:05 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-04 14:07:05 +0200
commit4decceea760843dcc4bc4189026cdda1ecc4e32d (patch)
tree5ae02903471ee836154d35f865bffeb3aef313c0 /view
parent26b97722c619a37bf343a2cbdc148c17520857d7 (diff)
downloadvolse-hubzilla-4decceea760843dcc4bc4189026cdda1ecc4e32d.tar.gz
volse-hubzilla-4decceea760843dcc4bc4189026cdda1ecc4e32d.tar.bz2
volse-hubzilla-4decceea760843dcc4bc4189026cdda1ecc4e32d.zip
add anchors to messages and links
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/mail_conv.tpl1
-rwxr-xr-xview/tpl/mail_list.tpl2
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>