aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-17 21:44:08 -0700
committerredmatrix <git@macgirvin.com>2016-06-17 21:44:08 -0700
commit2e7606f5697cc5e362cb2b1af134316766985689 (patch)
treed057f4f64eea928788e7295d2af679b4fd65874d /view/tpl
parentc81f6b9f6f1ab7f7dc61e5343e52d4ccedbff5a1 (diff)
downloadvolse-hubzilla-2e7606f5697cc5e362cb2b1af134316766985689.tar.gz
volse-hubzilla-2e7606f5697cc5e362cb2b1af134316766985689.tar.bz2
volse-hubzilla-2e7606f5697cc5e362cb2b1af134316766985689.zip
the text link to a thing will take you to the local thing page, both as a link for editing and as a destination in case there is no thing photo. If there's a photo, the photo link will take you to the thing URL.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_advanced.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl
index a4c98b1d0..d0c9621f9 100755
--- a/view/tpl/profile_advanced.tpl
+++ b/view/tpl/profile_advanced.tpl
@@ -282,7 +282,7 @@
<ul class="profile-thing-list">
{{foreach $items as $item}}
<li>{{if $item.img}}<a href="{{$item.url}}" ><img src="{{$item.img}}" class="profile-thing-img" width="100" height="100" alt="{{$item.term}}" /></a>{{/if}}
- <a href="{{$item.url}}" >{{$item.term}}</a>
+ <a href="{{$item.editurl}}" >{{$item.term}}</a>
{{if $profile.canlike}}<br />
<button type="button" class="btn btn-default btn-sm" onclick="doprofilelike('thing/' + '{{$item.term_hash}}','like'); return false;" title="{{$likethis}}" >
<i class="fa fa-thumbs-o-up" title="{{$likethis}}"></i>