From bffb40dff1ba05473fdd307bc77349bb41b59b3e Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 2 Nov 2021 11:12:46 +0800 Subject: [PATCH] MDL-72687 assign: fix email and due date cut off whem zooming --- mod/assign/styles.css | 10 ----- mod/assign/templates/grading_actions.mustache | 42 ++++++++++--------- .../grading_navigation_user_summary.mustache | 25 ++++++++++- 3 files changed, 46 insertions(+), 31 deletions(-) diff --git a/mod/assign/styles.css b/mod/assign/styles.css index 43bb6232d7b..31e33c7e507 100644 --- a/mod/assign/styles.css +++ b/mod/assign/styles.css @@ -967,16 +967,6 @@ height: 60px; } -/*rtl:ignore*/ -.path-mod-assign [data-region="grade-actions-panel"] [data-region="grade-actions"] .collapse-buttons { - position: absolute; - top: 0; - left: auto; - right: 15px; - margin: 0; - line-height: 60px; -} - .path-mod-assign [data-region="grade-actions"] { padding: 1em; text-align: center; diff --git a/mod/assign/templates/grading_actions.mustache b/mod/assign/templates/grading_actions.mustache index 50b37e37feb..427f1eb7766 100644 --- a/mod/assign/templates/grading_actions.mustache +++ b/mod/assign/templates/grading_actions.mustache @@ -30,27 +30,29 @@ This template is initially hidden, and is only displayed after the current user info has been loaded. }} -{{#showreview}} -
-
- - - -
+
+
+ + {{#helpicon}} + {{>core/help_icon}} + {{/helpicon}} + + + +
+ {{#showreview}} +
+
+ + + +
+
+ {{/showreview}}
-{{/showreview}} -
- - {{#helpicon}} - {{>core/help_icon}} - {{/helpicon}} - - - -
{{#js}} require(['mod_assign/grading_actions'], function(GradingActions) { new GradingActions('[data-region="grade-actions"]'); diff --git a/mod/assign/templates/grading_navigation_user_summary.mustache b/mod/assign/templates/grading_navigation_user_summary.mustache index 0a3ad80932e..2bb67fbb070 100644 --- a/mod/assign/templates/grading_navigation_user_summary.mustache +++ b/mod/assign/templates/grading_navigation_user_summary.mustache @@ -37,4 +37,27 @@ "profileimageurl": "https://moodle.org/pix/u/f3.png" } }} -

{{^blindmarking}}{{/blindmarking}}{{#profileimageurl}}{{/profileimageurl}} {{fullname}}{{#hasidentity}} {{identity}} {{/hasidentity}}{{#duedate}}{{#str}}duedatecolon, mod_assign, {{duedatestr}}{{/str}}{{/duedate}}{{^blindmarking}}{{/blindmarking}}

+

+ {{^blindmarking}} + + {{/blindmarking}} + {{#profileimageurl}} + + {{/profileimageurl}} + {{fullname}} + {{#hasidentity}} + + {{identity}} + + {{/hasidentity}} + {{#duedate}} + + + {{#str}}duedatecolon, mod_assign, {{duedatestr}}{{/str}} + + + {{/duedate}} + {{^blindmarking}} + + {{/blindmarking}} +