diff --git a/common/modules/event/views/event/view.php b/common/modules/event/views/event/view.php index 8cd332f..86f8a39 100644 --- a/common/modules/event/views/event/view.php +++ b/common/modules/event/views/event/view.php @@ -187,19 +187,19 @@ function getCommonColumnsHtmlOptions($model) ]; return Html::a('', $url, $options); }, - 'delete-registration' => function ($url, $model) { - if (isset($model['event_registration_canceled_at'])) { - return ""; - } - $options = [ - 'title' => Yii::t('yii', 'Delete'), - 'aria-label' => Yii::t('yii', 'Delete'), - 'data-confirm' => Yii::t('event', 'Are you sure you want to delete this item? Usage count will be restored!'), - 'data-method' => 'post', - 'data-pjax' => '0', - ]; - return Html::a('', $url, $options); - }, +// 'delete-registration' => function ($url, $model) { +// if (isset($model['event_registration_canceled_at'])) { +// return ""; +// } +// $options = [ +// 'title' => Yii::t('yii', 'Delete'), +// 'aria-label' => Yii::t('yii', 'Delete'), +// 'data-confirm' => Yii::t('event', 'Are you sure you want to delete this item? Usage count will be restored!'), +// 'data-method' => 'post', +// 'data-pjax' => '0', +// ]; +// return Html::a('', $url, $options); +// }, ] ], diff --git a/frontend/web/css/site.css b/frontend/web/css/site.css index fe8d94b..fd89dfb 100644 --- a/frontend/web/css/site.css +++ b/frontend/web/css/site.css @@ -96,3 +96,37 @@ a.desc:after { background-color: #dc500b; border-color: #faebcc; } + + + +.event-theme-active-0 { + background-color: #ECB809 !important; +} +.event-theme-active-1 { + background-color: #AE173B !important; +} +.event-theme-active-2 { + background-color: #DF429B !important; +} +.event-theme-active-3 { + background-color: #B929B1 !important; +} +.event-theme-active-4 { + background-color: #3EBFAE !important; +} +.event-theme-active-5 { + background-color: #6594D1 !important; +} +.event-theme-active-6 { + background-color: #F1591A !important; +} +.event-theme-active-7 { + background-color: #30B211 !important; +} +.event-theme-active-8 { + background-color: #E82A36 !important; +} +.event-theme-active-9 { + background-color: #98701E !important; +} +