diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-05 17:08:48 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-05 17:08:48 -0700 |
commit | 1639f5b83d39be33ccbf07ac29b7a86cc11a4d14 (patch) | |
tree | d5d036de0bc9ae3c978bd972c702ea84e06d7a5c /view/tpl/zcard_embed.tpl | |
parent | aaa7d6a0ecb5b4b86acfe03155affc538f450fb5 (diff) | |
download | volse-hubzilla-1639f5b83d39be33ccbf07ac29b7a86cc11a4d14.tar.gz volse-hubzilla-1639f5b83d39be33ccbf07ac29b7a86cc11a4d14.tar.bz2 volse-hubzilla-1639f5b83d39be33ccbf07ac29b7a86cc11a4d14.zip |
add links to zcards #500 ; also provide drag/drop highlighting of comment regions when a link is being dragged over them
Diffstat (limited to 'view/tpl/zcard_embed.tpl')
-rw-r--r-- | view/tpl/zcard_embed.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/zcard_embed.tpl b/view/tpl/zcard_embed.tpl index 7981e3b0b..5c7a925e3 100644 --- a/view/tpl/zcard_embed.tpl +++ b/view/tpl/zcard_embed.tpl @@ -1,8 +1,8 @@ <div class="hz_card {{$size}}"> - <div class="hz_cover_photo" style="max-width: 100;"><img src="{{$cover.href}}" alt="{{$zcard.chan.xchan_name}}" /> + <div class="hz_cover_photo" style="max-width: 100;"><a href="{{$zcard.chan.xchan_url}}"><img src="{{$cover.href}}" alt="{{$zcard.chan.xchan_name}}" /></a> <div style="position: relative;top: -40px;left: 120px;color: #fff;font-size: 18px;text-rendering: optimizelegibility;text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);" >{{$zcard.chan.xchan_name}}</div> <div style="position: relative;top: -40px;left: 120px;color: #fff;font-size: 10px;text-rendering: optimizelegibility;text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);" >{{$zcard.chan.channel_addr}}</div> </div> - <div style="position:relative;top: -75px;left: 20px;background-color: white;border: 1px solid #ddd;padding: 3px;width: 80px;height: 80px;"><img src="{{$pphoto.href}}" alt="{{$zcard.chan.xchan_name}}" /></div> + <div style="position:relative;top: -75px;left: 20px;background-color: white;border: 1px solid #ddd;padding: 3px;width: 80px;height: 80px;"><a href="{{$zcard.chan.xchan_url}}"><img src="{{$pphoto.href}}" alt="{{$zcard.chan.xchan_name}}" /></a></div> </div> |