aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-08 18:41:54 +0000
committerMario <mario@mariovavti.com>2020-04-08 18:41:54 +0000
commit806c738923b9d880af49a1811d8fbf2c2ee36309 (patch)
treeca9e38c7f1cf917bbae10399378fd1cdb4109fec /view
parent9c2d48bcd4b8c5cb4efea1232ef3e52c1a0649c9 (diff)
downloadvolse-hubzilla-806c738923b9d880af49a1811d8fbf2c2ee36309.tar.gz
volse-hubzilla-806c738923b9d880af49a1811d8fbf2c2ee36309.tar.bz2
volse-hubzilla-806c738923b9d880af49a1811d8fbf2c2ee36309.zip
remove voting from UI in favour of polls
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/jot.tpl12
1 files changed, 1 insertions, 11 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 4a9717c01..09ddb062d 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -155,16 +155,9 @@
<i id="profile-encrypt" class="fa fa-key jot-icons"></i>
</button>
{{/if}}
- {{if $feature_voting}}
- <button id="profile-voting-wrapper" class="btn btn-outline-secondary btn-sm" title="{{$voting}}" onclick="toggleVoting();return false;">
- <i id="profile-voting" class="fa fa-square-o jot-icons"></i>
- </button>
- {{/if}}
-
<button type="button" id="profile-poll-wrapper" class="btn btn-outline-secondary btn-sm" title="{{$poll}}" onclick="initPoll();">
<i id="profile-poll" class="fa fa-bar-chart jot-icons"></i>
</button>
-
{{if $feature_nocomment}}
<button id="profile-nocomment-wrapper" class="btn btn-outline-secondary btn-sm" title="{{$nocommenttitle}}" onclick="toggleNoComment();return false;">
<i id="profile-nocomment" class="fa fa-comments jot-icons"></i>
@@ -174,7 +167,7 @@
{{$custommoretoolsbuttons}}
{{/if}}
</div>
- {{if $writefiles || $weblink || $setloc || $clearloc || $feature_expire || $feature_encrypt || $feature_voting || $custommoretoolsdropdown}}
+ {{if $writefiles || $weblink || $setloc || $clearloc || $feature_expire || $feature_encrypt || $custommoretoolsdropdown}}
<div class="btn-group d-lg-none">
<button type="button" id="more-tools" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i id="more-tools-icon" class="fa fa-cog jot-icons"></i>
@@ -206,9 +199,6 @@
{{if $feature_encrypt}}
<a class="dropdown-item" href="#" onclick="red_encrypt('{{$cipher}}','#profile-jot-text',$('#profile-jot-text').val());return false;"><i class="fa fa-key"></i>&nbsp;{{$encrypt}}</a>
{{/if}}
- {{if $feature_voting}}
- <a class="dropdown-item" href="#" onclick="toggleVoting(); return false;"><i id="profile-voting-sub" class="fa fa-square-o"></i>&nbsp;{{$voting}}</a>
- {{/if}}
<a class="dropdown-item" href="#" onclick="initPoll(); return false"><i id="profile-poll" class="fa fa-bar-chart jot-icons"></i>&nbsp;{{$poll}}</a>
{{if $feature_nocomment}}
<a class="dropdown-item" href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i>&nbsp;{{$nocommenttitlesub}}</a>