aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-08-14 06:55:02 -0400
committerAndrew Manning <tamanning@zoho.com>2016-08-14 06:55:02 -0400
commit229cc2ac431cdcef80cc45a42178fe7a1e4233e4 (patch)
treeb8dcbcf927403aef3f8a55a963478dd6e80e903d
parentcb9ac6dd3435a429a58250d326ff76ca5f97398a (diff)
downloadvolse-hubzilla-229cc2ac431cdcef80cc45a42178fe7a1e4233e4.tar.gz
volse-hubzilla-229cc2ac431cdcef80cc45a42178fe7a1e4233e4.tar.bz2
volse-hubzilla-229cc2ac431cdcef80cc45a42178fe7a1e4233e4.zip
Change text for submenu on small screens to be static toggle statement
-rw-r--r--include/conversation.php1
-rwxr-xr-xview/tpl/jot.tpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 567336646..7d1473fe2 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1246,6 +1246,7 @@ function status_editor($a, $x, $popup = false) {
'$feature_voting' => $feature_voting,
'$consensus' => 0,
'$nocommenttitle' => t('Disable comments'),
+ '$nocommenttitlesub' => t('Toggle comments'),
'$feature_nocomment' => $feature_nocomment,
'$nocomment' => 0,
'$clearloc' => $clearloc,
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index bd615b1df..20357b66f 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -158,7 +158,7 @@
<li><a href="#" onclick="toggleVoting(); return false;"><i id="profile-voting-sub" class="fa fa-square-o"></i>&nbsp;{{$voting}}</a></li>
{{/if}}
{{if $feature_nocomment}}
- <li><a href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i>&nbsp;{{$nocommenttitle}}</a></li>
+ <li><a href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i>&nbsp;{{$nocommenttitlesub}}</a></li>
{{/if}}
</ul>
</div>