aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_form.tpl
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-17 17:20:24 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-17 17:20:24 -0700
commit3d99a6b5c4b8d754dff0666f7cca84724e0f95d9 (patch)
tree763e4b1fc1660c49112807c41d01cef2a4da4971 /view/tpl/event_form.tpl
parent811cfc56d5f8ef16e72bd407b2113e05959d8732 (diff)
downloadvolse-hubzilla-3d99a6b5c4b8d754dff0666f7cca84724e0f95d9.tar.gz
volse-hubzilla-3d99a6b5c4b8d754dff0666f7cca84724e0f95d9.tar.bz2
volse-hubzilla-3d99a6b5c4b8d754dff0666f7cca84724e0f95d9.zip
hide event share button when editing an event
Diffstat (limited to 'view/tpl/event_form.tpl')
-rwxr-xr-xview/tpl/event_form.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl
index 986a93a16..d2562f080 100755
--- a/view/tpl/event_form.tpl
+++ b/view/tpl/event_form.tpl
@@ -152,8 +152,10 @@
<br />
+
<div class="clear event-form-location-end"></div>
+{{if ! $eid}}
<div class='field checkbox'>
<label class="mainlabel" for='id_share'>{{$sh_text}}</label>
@@ -170,6 +172,8 @@
<button id="event-permissions-button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button>
{{$acl}}
+{{/if}}
+
<div class="clear"></div>
<button id="event-edit-preview-btn" class="btn btn-default" title="{{$preview}}" onclick="doEventPreview(); return false;"><i class="icon-eye-open" ></i></button>