Merge branch 'MDL-63337-master-fix' of https://github.com/junpataleta/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2018-10-15 16:24:49 +02:00
7 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -37,9 +37,10 @@ function(
COURSES_VIEW: '[data-region="courses-view"]',
COURSES_VIEW_CONTENT: '[data-region="course-view-content"]'
};
/**
* Initialise all of the modules for the overview block.
*
*
* @param {object} root The root element for the overview block.
*/
var init = function(root) {
+3 -3
View File
@@ -119,7 +119,7 @@ function(
/**
* Intialise the courses list and cards views on page load.
*
*
* @param {object} root The root element for the courses view.
* @param {object} content The content element for the courses view.
*/
@@ -166,10 +166,10 @@ function(
/**
* Reset the courses views to their original
* state on first page load.
*
*
* This is called when configuration has changed for the event lists
* to cause them to reload their data.
*
*
* @param {object} root The root element for the timeline view.
* @param {object} content The content element for the timeline view.
*/
+2 -2
View File
@@ -41,7 +41,7 @@ function(
/**
* Event listener for the Display filter (cards, list).
*
*
* @param {object} root The root element for the overview block
* @param {object} viewRoot The root element for displaying courses.
* @param {object} viewContent content The content element for the courses view.
@@ -93,7 +93,7 @@ function(
/**
* Initialise the timeline view navigation by adding event listeners to
* the navigation elements.
*
*
* @param {object} root The root element for the myoverview block
* @param {object} viewRoot The root element for the myoverview block
* @param {object} viewContent The content element for the myoverview block
@@ -30,4 +30,4 @@
alt="{{#str}} nocourses, block_myoverview {{/str}}"
role="presentation">
<p class="text-muted mt-3">{{#str}} nocourses, block_myoverview {{/str}}</p>
</div>
</div>
@@ -30,4 +30,4 @@
</div>
<div class="bg-pulse-grey w-100" style="height: 3rem">
</div>
</div>
</div>
@@ -26,9 +26,9 @@
}}
<div class="progress">
<div class="progress-bar bar" role="progressbar" aria-valuenow="{{progress}}" style="width: {{progress}}%" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bar" role="progressbar" aria-valuenow="{{progress}}" style="width: {{progress}}%" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="small">
<span class="sr-only">{{#str}}aria:courseprogress, block_myoverview{{/str}}</span>
<strong>{{progress}}%</strong> {{#str}}complete, block_myoverview{{/str}}
</div>
<strong>{{progress}}%</strong> {{#str}}complete, block_myoverview{{/str}}
</div>
@@ -32,7 +32,7 @@
}
]
}
}}
}}
<ul class="list-group" role="list">
{{#courses}}
@@ -52,4 +52,4 @@
</div>
</li>
{{/courses}}
</ul>
</ul>