aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2014-09-12 21:21:16 +0200
committerjeroenpraat <jeroenpraat@xs4all.nl>2014-09-12 21:21:16 +0200
commitd4e7a71d1e146f0dd521a0cc060686801966cb40 (patch)
tree11addfb2519c0b4cecef7464f179ef9399ec5c78
parent32f09b5fc2f06530453502636039fafb0621399b (diff)
downloadvolse-hubzilla-d4e7a71d1e146f0dd521a0cc060686801966cb40.tar.gz
volse-hubzilla-d4e7a71d1e146f0dd521a0cc060686801966cb40.tar.bz2
volse-hubzilla-d4e7a71d1e146f0dd521a0cc060686801966cb40.zip
Issue #590: Linked conversation titles to source.
If a theme wants to have it different, it can always copy this .tpl file to ../theme/tpl/. I didn't commit this directly, because it's a little bit controversial. But I like it!
-rwxr-xr-xview/tpl/conv_item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index d7ed7d0f4..be7789e6b 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -15,7 +15,7 @@
<div class="wall-item-photo-end" style="clear:both"></div>
</div>
{{if $item.title}}
- <div class="wall-item-title" id="wall-item-title-{{$item.id}}"><h3>{{$item.title}}</h3></div>
+ <div class="wall-item-title" id="wall-item-title-{{$item.id}}"><h3>{{if $item.plink}}<a href="{{$item.plink.href}}" title="{{$item.title}} ({{$item.plink.title}})">{{/if}}{{$item.title}}{{if $item.plink}}</a>{{/if}}</h3></div>
{{/if}}
{{if $item.lock}}
<div class="wall-item-lock dropdown">