From c3d8643772dc3c14ac26ec3b02470a82da53cf10 Mon Sep 17 00:00:00 2001 From: Ryan Wyllie Date: Tue, 21 Mar 2017 06:03:47 +0000 Subject: [PATCH] MDL-58235 block_myoverview: add styling for clean theme Part of MDL-55611 --- theme/bootstrapbase/less/moodle/blocks.less | 1 + theme/bootstrapbase/style/moodle.css | 1 + .../templates/block_myoverview/event-list-item.mustache | 8 ++++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/theme/bootstrapbase/less/moodle/blocks.less b/theme/bootstrapbase/less/moodle/blocks.less index 7c4b9777b9c..7e987a350d3 100644 --- a/theme/bootstrapbase/less/moodle/blocks.less +++ b/theme/bootstrapbase/less/moodle/blocks.less @@ -322,6 +322,7 @@ /*rtl:ignore*/ left: 50%; margin: 0; + padding: 0; transform: translate(-45%, -45%); color: #fff; height: (@chart-size / 2); diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index a1567f6494c..307e0cfdd0e 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -16359,6 +16359,7 @@ body { /*rtl:ignore*/ left: 50%; margin: 0; + padding: 0; transform: translate(-45%, -45%); color: #fff; height: 35px; diff --git a/theme/bootstrapbase/templates/block_myoverview/event-list-item.mustache b/theme/bootstrapbase/templates/block_myoverview/event-list-item.mustache index a63d55fb601..5c02670e117 100644 --- a/theme/bootstrapbase/templates/block_myoverview/event-list-item.mustache +++ b/theme/bootstrapbase/templates/block_myoverview/event-list-item.mustache @@ -69,8 +69,12 @@
-
{{enddate}}
+
+ {{#userdate}} {{timesort}}, {{#str}} strftimerecent {{/str}} {{/userdate}} +
-
{{enddate}}
+
+ {{#userdate}} {{timesort}}, {{#str}} strftimerecent {{/str}} {{/userdate}} +