aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-26 13:46:25 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-26 13:46:25 +0200
commit0bf65bcad5f11be5b8d8e3280fc2f96f150a8830 (patch)
treef037846aa5da9260d67a1d57159b78201cf824ed /view/tpl
parent44dbf19e89e74e476fe98fbad1eccb890e0f160b (diff)
downloadvolse-hubzilla-0bf65bcad5f11be5b8d8e3280fc2f96f150a8830.tar.gz
volse-hubzilla-0bf65bcad5f11be5b8d8e3280fc2f96f150a8830.tar.bz2
volse-hubzilla-0bf65bcad5f11be5b8d8e3280fc2f96f150a8830.zip
remove rate entry and move ignore button to the right
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/direntry.tpl9
1 files changed, 3 insertions, 6 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index 61dbbcc37..50714c072 100644
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -1,21 +1,18 @@
<div class="directory-item{{if $entry.safe}} safe{{/if}}" id="directory-item-{{$entry.hash}}" >
<div class="section-subtitle-wrapper clearfix">
<div class="float-end">
- {{if $entry.ignlink}}
- <a class="directory-ignore btn btn-warning btn-sm" href="{{$entry.ignlink}}"> {{$entry.ignore_label}}</a>
- {{/if}}
{{if $entry.censor_2}}
<a class="directory-censor btn btn{{$entry.censor_2_class}}-danger btn-sm" href="{{$entry.censor_2}}"> {{$entry.censor_2_label}}</a>
{{/if}}
{{if $entry.censor}}
<a class="directory-censor btn btn{{$entry.censor_class}}-warning btn-sm" href="{{$entry.censor}}"> {{$entry.censor_label}}</a>
{{/if}}
+ {{if $entry.ignlink}}
+ <a class="directory-ignore btn btn-info btn-sm" href="{{$entry.ignlink}}"> {{$entry.ignore_label}}</a>
+ {{/if}}
{{if $entry.connect}}
<a class="btn btn-success btn-sm" href="{{$entry.connect}}"><i class="fa fa-plus connect-icon"></i> {{$entry.conn_label}}</a>
{{/if}}
- {{if $entry.viewrate}}
- {{if $entry.canrate}}<button class="btn btn-outline-secondary btn-sm" onclick="doRatings('{{$entry.hash}}'); return false;" ><i class="fa fa-pencil"></i><span id="edited-{{$entry.hash}}" class="required" id="edited-{{$entry.hash}}" style="display: none;" >&nbsp;*</span></button>{{/if}}
- {{/if}}
</div>
<h3>{{if $entry.public_forum}}<i class="fa fa-comments-o" title="{{$entry.forum_label}} @{{$entry.nickname}}+"></i>&nbsp;{{/if}}<a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}}&nbsp;<i class="fa fa-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</h3>
</div>