aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-04-12 07:20:24 +1000
committerRedMatrix <info@friendica.com>2014-04-12 07:20:24 +1000
commitaa1f5ce7535d4cf17dbdafb4b780a538f35ef05f (patch)
treef56796a4410464c7f4211e2c4d5260a44c944ae1 /view/tpl/jot.tpl
parent0a871c3f14fb326efa033d89a8e413ad693c1341 (diff)
parent3197ccbf5edf51eab49623c7c21e63af7de7f127 (diff)
downloadvolse-hubzilla-aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f.tar.gz
volse-hubzilla-aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f.tar.bz2
volse-hubzilla-aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f.zip
Merge pull request #404 from git-marijus/master
bootstrapify aclselector
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl12
1 files changed, 4 insertions, 8 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index e1b8dc906..c4fdba0f5 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -11,6 +11,7 @@
<input type="hidden" name="post_id" value="{{$post_id}}" />
<input type="hidden" name="webpage" value="{{$webpage}}" />
<input type="hidden" name="preview" id="jot-preview" value="0" />
+ {{if $showacl}}{{$acl}}{{/if}}
{{$mimeselect}}
{{$layoutselect}}
{{if $id_select}}
@@ -75,7 +76,9 @@
</div>
<div id="profile-jot-submit-right" class="btn-group pull-right">
{{if $showacl}}
- <a href="#profile-jot-acl-wrapper" class="btn btn-default btn-sm jot-icons icon-{{$lockstate}}" id="jot-perms-icon" title="{{$permset}}"></a>{{$bang}}
+ <button class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="{{$permset}}" onclick="return false;">
+ <i id="jot-perms-icon" class="icon-{{$lockstate}} jot-icons">{{$bang}}</i>
+ </button>
{{/if}}
{{if $preview}}
<button class="btn btn-default btn-sm" onclick="preview_post();return false;" title="{{$preview}}">
@@ -88,13 +91,6 @@
<div id="profile-jot-plugin-wrapper">
{{$jotplugins}}
</div>
- <div style="display: none;">
- <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
- {{$acl}}
- <hr style="clear:both"/>
- {{$jotnets}}
- </div>
- </div>
</div>
<div id="profile-jot-text-loading"></div>
<div id="profile-jot-end" class="clear"></div>