From 0e2d8aaf8b8be26c5ea204980d4f696e5cadbd37 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 1 Mar 2015 17:30:44 -0500 Subject: [PATCH] CRM-15932 - Major cleanup of ConfirmRepeatMode --- CRM/Event/Form/ManageEvent/Repeat.php | 2 - css/civicrm.css | 23 --- templates/CRM/Core/Form/RecurringEntity.tpl | 34 +--- .../Form/ManageEvent/ConfirmRepeatMode.tpl | 156 +++++++----------- 4 files changed, 66 insertions(+), 149 deletions(-) diff --git a/CRM/Event/Form/ManageEvent/Repeat.php b/CRM/Event/Form/ManageEvent/Repeat.php index c5da44b37c..8a4bc05480 100644 --- a/CRM/Event/Form/ManageEvent/Repeat.php +++ b/CRM/Event/Form/ManageEvent/Repeat.php @@ -84,8 +84,6 @@ class CRM_Event_Form_ManageEvent_Repeat extends CRM_Event_Form_ManageEvent { //Always pass current event's start date by default $currentEventStartDate = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_id, 'start_date', 'id'); list($defaults['repetition_start_date'], $defaults['repetition_start_date_time']) = CRM_Utils_Date::setDateDefaults($currentEventStartDate, 'activityDateTime'); - $defaults['allowRepeatConfigToSubmit'] = 1; - $recurringEntityDefaults = array(); $recurringEntityDefaults = CRM_Core_Form_RecurringEntity::setDefaultValues(); $defaults = array_merge($defaults, $recurringEntityDefaults); return $defaults; diff --git a/css/civicrm.css b/css/civicrm.css index 1840e31508..2d1a382ba4 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -4009,29 +4009,6 @@ span.crm-status-icon { background: url("../i/loading-overlay.gif") center center no-repeat white !important; } -/* Recurring Dialog */ -.crm-container .recurring-dialog-inner-wrapper { - display: inline-block; - width: 100%; -} -.crm-container .recurring-dialog-inner-left{ - width: 30%; - float: left; -} -.crm-container .recurring-dialog-inner-right{ - width: 70%; - float: left; -} -.crm-container .recurring-dialog-button{ - background: #f5f5f5; - background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1); - border: 1px solid rgba(0,0,0,0.1); - padding: 5px 8px; - text-align: center; - border-radius: 2px; - cursor: pointer; - font-size: 11px !important; -} .crm-container table.mergecontact thead th { width:30%; } diff --git a/templates/CRM/Core/Form/RecurringEntity.tpl b/templates/CRM/Core/Form/RecurringEntity.tpl index 2e7823d390..35cb50eafd 100644 --- a/templates/CRM/Core/Form/RecurringEntity.tpl +++ b/templates/CRM/Core/Form/RecurringEntity.tpl @@ -83,9 +83,6 @@ -
-
-
{literal} {literal}