diff --git a/src/addons/calendar/calendar-common.scss b/src/addons/calendar/calendar-common.scss
index 8fdaaeefe..c12303e90 100644
--- a/src/addons/calendar/calendar-common.scss
+++ b/src/addons/calendar/calendar-common.scss
@@ -6,11 +6,7 @@
> ion-icon {
color: white;
border-radius: 50%;
- padding: 6px;
- }
-
- > core-mod-icon {
- padding: 6px;
+ padding: 0.7rem;
}
&.addon-calendar-eventtype-category > ion-icon {
@@ -30,4 +26,4 @@
}
}
-}
\ No newline at end of file
+}
diff --git a/src/addons/calendar/components/calendar/addon-calendar-calendar.html b/src/addons/calendar/components/calendar/addon-calendar-calendar.html
index ca1e7dc08..9d072a910 100644
--- a/src/addons/calendar/components/calendar/addon-calendar-calendar.html
+++ b/src/addons/calendar/components/calendar/addon-calendar-calendar.html
@@ -81,13 +81,10 @@
{{ event.timestart * 1000 | coreFormatDate: timeFormat }}
-
-
{{ 'addon.calendar.type' + event.formattedType | translate }}
-
+
{{ event.iconTitle }}
diff --git a/src/addons/calendar/components/calendar/calendar.scss b/src/addons/calendar/components/calendar/calendar.scss
index 24e0c2e99..f293233fc 100644
--- a/src/addons/calendar/components/calendar/calendar.scss
+++ b/src/addons/calendar/components/calendar/calendar.scss
@@ -148,17 +148,6 @@
}
}
- core-mod-icon {
- margin-right: 1px;
- margin-left: 1px;
- --size: 16px;
- display: inline-block;
- vertical-align: bottom;
- ::ng-deep img {
- display: block;
- }
- }
-
ion-slide {
display: block;
font-size: inherit;
diff --git a/src/addons/calendar/pages/day/day.html b/src/addons/calendar/pages/day/day.html
index 01a7daceb..62939f984 100644
--- a/src/addons/calendar/pages/day/day.html
+++ b/src/addons/calendar/pages/day/day.html
@@ -68,7 +68,7 @@
(click)="gotoEvent(event.id)" [class.item-dimmed]="event.ispast"
[ngClass]="['addon-calendar-eventtype-'+event.eventtype]" button detail="true">
+ [modname]="event.modulename" [componentId]="event.instance">
diff --git a/src/addons/calendar/pages/event/event.html b/src/addons/calendar/pages/event/event.html
index 8744742c3..bcdd07a0e 100644
--- a/src/addons/calendar/pages/event/event.html
+++ b/src/addons/calendar/pages/event/event.html
@@ -1,18 +1,10 @@
-
+
-
-
-
-
- {{ 'addon.calendar.type' + event.formattedType | translate }}
- {{ event.iconTitle }}
-
@@ -47,79 +39,96 @@
-
-
-
-
- {{ 'addon.calendar.when' | translate }}
-
+
+
+
+
+
+
+
+ {{ 'addon.calendar.type' + event.formattedType | translate }}
+ {{ event.iconTitle }}
+
+
+
+
+
+
+
+
+
+ {{ 'addon.calendar.when' | translate }}
+
+
+
+ {{ 'core.deletedoffline' | translate }}
+
+
+
+
+ {{ 'addon.calendar.eventtype' | translate }}
+ {{ 'addon.calendar.type' + event.formattedType | translate }}
+
+
+
+
+ {{ 'core.course' | translate}}
+
+
+
+
+
+
+
+
+ {{ 'core.group' | translate}}
+ {{ groupName }}
+
+
+
+
+ {{ 'core.category' | translate}}
+
+
+
+
+
+
+
+
+ {{ 'core.description' | translate}}
+
+
-
-
- {{ 'core.deletedoffline' | translate }}
-
-
-
-
- {{ 'addon.calendar.eventtype' | translate }}
- {{ 'addon.calendar.type' + event.formattedType | translate }}
-
-
-
-
- {{ 'core.course' | translate}}
-
-
-
-
-
-
-
-
- {{ 'core.group' | translate}}
- {{ groupName }}
-
-
-
-
- {{ 'core.category' | translate}}
-
-
-
-
-
-
-
-
- {{ 'core.description' | translate}}
-
-
+
+
+
+
+ {{ 'core.location' | translate}}
+
+
+
-
-
-
-
-
- {{ 'core.location' | translate}}
-
-
-
-
-
-
-
-
-
-
- {{ 'addon.calendar.gotoactivity' | translate }}
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ 'addon.calendar.gotoactivity' | translate }}
+
+
+
+
-
+
{{ 'addon.calendar.reminders' | translate }}
diff --git a/src/addons/calendar/pages/event/event.page.ts b/src/addons/calendar/pages/event/event.page.ts
index e335e6b78..28c5de7e9 100644
--- a/src/addons/calendar/pages/event/event.page.ts
+++ b/src/addons/calendar/pages/event/event.page.ts
@@ -46,7 +46,7 @@ import { AddonCalendarReminderTimeModalComponent } from '@addons/calendar/compon
@Component({
selector: 'page-addon-calendar-event',
templateUrl: 'event.html',
- styleUrls: ['event.scss'],
+ styleUrls: ['../../calendar-common.scss', 'event.scss'],
})
export class AddonCalendarEventPage implements OnInit, OnDestroy {
diff --git a/src/addons/calendar/pages/event/event.scss b/src/addons/calendar/pages/event/event.scss
index 5403de162..24e862cd4 100644
--- a/src/addons/calendar/pages/event/event.scss
+++ b/src/addons/calendar/pages/event/event.scss
@@ -2,9 +2,4 @@
ion-card ion-note {
font-size: 1.6rem;
}
- h1 ion-icon, h1 img, h1 core-mod-icon {
- margin-left: 10px;
- margin-right: 10px;
- display: inline-block;
- }
}