This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved repeats events to pre save and pre delete actions (#17138)
* Moved repeats events to pre save and pre delete actions
- Loading branch information
Showing
22 changed files
with
433 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{*<!-- {[The file is published on the basis of YetiForce Public License 5.0 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*} | ||
{strip} | ||
<!-- tpl-Calendar-RepeatEvents --> | ||
<div class="modal-body"> | ||
<div class="col-12 px-0 mb-3 form-row m-0"> | ||
<div class="col-12 col-lg-4 px-0"> | ||
<button class="btn btn-primary btn-sm js-repeat-events-mode" data-value="2"> | ||
{App\Language::translate('LBL_UPDATE_THIS_EVENT', $MODULE_NAME)} | ||
</button> | ||
</div> | ||
<div class="col-12 col-lg-8 px-0"> | ||
{App\Language::translate('LBL_UPDATE_THIS_EVENT_DESCRIPTION', $MODULE_NAME)} | ||
</div> | ||
</div> | ||
<div class="col-12 px-0 mb-3 form-row m-0"> | ||
<div class="col-12 col-lg-4 px-0"> | ||
<button class="btn btn-primary btn-sm js-repeat-events-mode" data-value="3"> | ||
{App\Language::translate('LBL_UPDATE_FUTURE_EVENTS', $MODULE_NAME)} | ||
</button> | ||
</div> | ||
<div class="col-12 col-lg-8 px-0"> | ||
{App\Language::translate('LBL_UPDATE_FUTURE_EVENTS_DESCRIPTION', $MODULE_NAME)} | ||
</div> | ||
</div> | ||
<div class="col-12 px-0 mb-3 form-row m-0"> | ||
<div class="col-12 col-lg-4 px-0"> | ||
<button class="btn btn-primary btn-sm js-repeat-events-mode" type="button" data-value="1"> | ||
{App\Language::translate('LBL_UPDATE_ALL_EVENTS', $MODULE_NAME)} | ||
</button> | ||
</div> | ||
<div class="col-12 col-lg-8 px-0"> | ||
{App\Language::translate('LBL_UPDATE_ALL_EVENTS_DESCRIPTION', $MODULE_NAME)} | ||
</div> | ||
</div> | ||
</div> | ||
<!-- /tpl-Calendar-RepeatEvents --> | ||
{/strip} |
38 changes: 38 additions & 0 deletions
38
layouts/basic/modules/Calendar/Modals/RepeatEventsDelete.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{*<!-- {[The file is published on the basis of YetiForce Public License 5.0 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*} | ||
{strip} | ||
<!-- tpl-Calendar-RepeatEventsDelete --> | ||
<div class="modal-body"> | ||
<input name="delete-url" type="hidden" data-url="{$DELETE_URL}"> | ||
<div class="col-12 px-0 mb-3 form-row m-0"> | ||
<div class="col-12 col-lg-4 px-0"> | ||
<button class="btn btn-primary btn-sm js-repeat-events-mode" data-value="2"> | ||
{App\Language::translate('LBL_DELETE_THIS_EVENT', $MODULE_NAME)} | ||
</button> | ||
</div> | ||
<div class="col-12 col-lg-8 px-0"> | ||
{App\Language::translate('LBL_DELETE_THIS_EVENT_DESCRIPTION', $MODULE_NAME)} | ||
</div> | ||
</div> | ||
<div class="col-12 px-0 mb-3 form-row m-0"> | ||
<div class="col-12 col-lg-4 px-0"> | ||
<button class="btn btn-primary btn-sm js-repeat-events-mode" data-value="3"> | ||
{App\Language::translate('LBL_DELETE_FUTURE_EVENTS', $MODULE_NAME)} | ||
</button> | ||
</div> | ||
<div class="col-12 col-lg-8 px-0"> | ||
{App\Language::translate('LBL_DELETE_FUTURE_EVENTS_DESCRIPTION', $MODULE_NAME)} | ||
</div> | ||
</div> | ||
<div class="col-12 px-0 mb-3 form-row m-0"> | ||
<div class="col-12 col-lg-4 px-0"> | ||
<button class="btn btn-primary btn-sm js-repeat-events-mode" type="button" data-value="1"> | ||
{App\Language::translate('LBL_DELETE_ALL_EVENTS', $MODULE_NAME)} | ||
</button> | ||
</div> | ||
<div class="col-12 col-lg-8 px-0"> | ||
{App\Language::translate('LBL_DELETE_ALL_EVENTS_DESCRIPTION', $MODULE_NAME)} | ||
</div> | ||
</div> | ||
</div> | ||
<!-- /tpl-Calendar-RepeatEventsDelete --> | ||
{/strip} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.