From: Georg Ehrke Date: Tue, 27 Sep 2011 19:56:16 +0000 (+0200) Subject: show only most essential stuff in add and edit event form X-Git-Tag: v3.0~135 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61aa00899d33a3b9706cf321555405fedf044775;p=nextcloud-server.git show only most essential stuff in add and edit event form --- diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index f8d1c8e650e..1b345452912 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -352,6 +352,10 @@ Calendar={ } },"json"); }, + showadvancedoptions:function(){ + $("#advanced_options").css("display", "block"); + $("#advanced_options_button").css("display", "none"); + }, createEventPopup:function(e){ var popup = $(this).data('popup'); if (!popup){ diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php index 5bb072cc23b..4c34b3e1fcc 100644 --- a/apps/calendar/templates/part.eventform.php +++ b/apps/calendar/templates/part.eventform.php @@ -5,12 +5,6 @@ " value="" maxlength="100" name="title"/> - - t("Location");?>: - - " value="" maxlength="100" name="location" /> - - @@ -60,7 +54,12 @@    -
- + + + +
t("Description");?>:t("Location");?>: + " value="" maxlength="100" name="location" /> +
+ + +
t("Description");?>:
+