diff options
author | redmatrix <git@macgirvin.com> | 2016-01-16 14:04:14 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-16 14:04:14 -0800 |
commit | 0365f5d52c3bb889b037d0b31d26bb218e23b4b4 (patch) | |
tree | de263da4b7d23798385c172ce09f49898d76e576 | |
parent | 110ef6201e0a3731967a662afed1606b7077d0b0 (diff) | |
parent | 0d5daea93d044cad02a28ff582cbd82c015b3738 (diff) | |
download | volse-hubzilla-0365f5d52c3bb889b037d0b31d26bb218e23b4b4.tar.gz volse-hubzilla-0365f5d52c3bb889b037d0b31d26bb218e23b4b4.tar.bz2 volse-hubzilla-0365f5d52c3bb889b037d0b31d26bb218e23b4b4.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
-rwxr-xr-x | view/tpl/direntry.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 57e6e1555..7c2a45473 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,6 +1,9 @@ <div class="directory-item{{if $entry.safe}} safe{{/if}}" id="directory-item-{{$entry.hash}}" > <div class="section-subtitle-wrapper"> <div class="pull-right"> + {{if $entry.viewrate}} + {{if $entry.total_ratings}}<a href="ratings/{{$entry.hash}}" id="dir-rating-{{$entry.hash}}" class="btn btn-default btn-xs">{{$entry.total_ratings}}</a>{{/if}} + {{/if}} {{if $entry.ignlink}} <a class="directory-ignore btn btn-warning btn-xs" href="{{$entry.ignlink}}"> {{$entry.ignore_label}}</a> {{/if}} @@ -8,9 +11,7 @@ <a class="btn btn-success btn-xs" href="{{$entry.connect}}"><i class="icon-plus connect-icon"></i> {{$entry.conn_label}}</a> {{/if}} {{if $entry.viewrate}} - {{if $entry.total_ratings}}<a href="ratings/{{$entry.hash}}" id="dir-rating-{{$entry.hash}}" class="btn btn-default btn-xs">{{$entry.total_ratings}}</a>{{/if}} {{if $entry.canrate}}<button class="btn btn-default btn-xs" onclick="doRatings('{{$entry.hash}}'); return false;" ><i class="icon-pencil"></i><span id="edited-{{$entry.hash}}" class="required" id="edited-{{$entry.hash}}" style="display: none;" > *</span></button>{{/if}} - {{/if}} </div> <h3>{{if $entry.public_forum}}<i class="icon-comments-alt" title="{{$entry.forum_label}} @{{$entry.nickname}}+"></i> {{/if}}<a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}} <i class="icon-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</h3> |