aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-22 13:22:01 -0700
committerzotlabs <mike@macgirvin.com>2016-10-22 13:22:01 -0700
commit823c0ebb47a8a39dbecae6902b0fe0dce158e417 (patch)
tree7208626d06a0a3637739629d296999170f135dd0 /view/tpl
parent8fc87411fa2b51d56abd7bf2b34a497485a94373 (diff)
parent5fb173149a53361f9b91b0aa46323b9d4dbada7f (diff)
downloadvolse-hubzilla-823c0ebb47a8a39dbecae6902b0fe0dce158e417.tar.gz
volse-hubzilla-823c0ebb47a8a39dbecae6902b0fe0dce158e417.tar.bz2
volse-hubzilla-823c0ebb47a8a39dbecae6902b0fe0dce158e417.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/event_form.tpl2
-rwxr-xr-xview/tpl/event_head.tpl11
2 files changed, 1 insertions, 12 deletions
diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl
index 0f37d8287..2c1fc762c 100755
--- a/view/tpl/event_form.tpl
+++ b/view/tpl/event_form.tpl
@@ -111,7 +111,7 @@
<div class="btn-group pull-right">
<button id="event-edit-preview-btn" class="btn btn-default" type="button" title="{{$preview}}" onclick="doEventPreview();"><i class="fa fa-eye" ></i></button>
{{if ! $eid}}
- <button id="dbtn-acl" class="btn btn-default" type="button" data-toggle="modal" data-target="#aclModal" title="{{$perms_label}}"><i id="jot-perms-icon" class="fa"></i></button>
+ <button id="dbtn-acl" class="btn btn-default" type="button" data-toggle="modal" data-target="#aclModal" title="{{$perms_label}}"><i id="jot-perms-icon" class="fa fa-{{$lockstate}}"></i></button>
{{/if}}
<button id="event-submit" class="btn btn-primary" type="submit" name="submit">{{$submit}}</button>
</div>
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index 646c68564..1d1b6f15b 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -153,17 +153,6 @@
}
});
- // ACL
- $('#id_distr').change(function() {
-
- if ($('#id_distr').is(':checked')) {
- $('#dbtn-acl').show();
- }
- else {
- $('#dbtn-acl').hide();
- }
- }).trigger('change');
-
});
</script>