Change text for submenu on small screens to be static toggle statement
This commit is contained in:
parent
cb9ac6dd34
commit
229cc2ac43
@ -1246,6 +1246,7 @@ function status_editor($a, $x, $popup = false) {
|
|||||||
'$feature_voting' => $feature_voting,
|
'$feature_voting' => $feature_voting,
|
||||||
'$consensus' => 0,
|
'$consensus' => 0,
|
||||||
'$nocommenttitle' => t('Disable comments'),
|
'$nocommenttitle' => t('Disable comments'),
|
||||||
|
'$nocommenttitlesub' => t('Toggle comments'),
|
||||||
'$feature_nocomment' => $feature_nocomment,
|
'$feature_nocomment' => $feature_nocomment,
|
||||||
'$nocomment' => 0,
|
'$nocomment' => 0,
|
||||||
'$clearloc' => $clearloc,
|
'$clearloc' => $clearloc,
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
<li><a href="#" onclick="toggleVoting(); return false;"><i id="profile-voting-sub" class="fa fa-square-o"></i> {{$voting}}</a></li>
|
<li><a href="#" onclick="toggleVoting(); return false;"><i id="profile-voting-sub" class="fa fa-square-o"></i> {{$voting}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $feature_nocomment}}
|
{{if $feature_nocomment}}
|
||||||
<li><a href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i> {{$nocommenttitle}}</a></li>
|
<li><a href="#" onclick="toggleNoComment(); return false;"><i id="profile-nocomment-sub" class="fa fa-comments"></i> {{$nocommenttitlesub}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user