MDL-64905 block_myoverview: Progress bar percentage as placeholder
This commit is contained in:
@@ -48,7 +48,7 @@ $string['aria:sortingdropdown'] = 'Sorting dropdown';
|
||||
$string['card'] = 'Card';
|
||||
$string['cards'] = 'Cards';
|
||||
$string['courseprogress'] = 'Course progress:';
|
||||
$string['complete'] = 'Complete';
|
||||
$string['completepercent'] = '{$a}% complete';
|
||||
$string['favourites'] = 'Starred';
|
||||
$string['future'] = 'Future';
|
||||
$string['inprogress'] = 'In progress';
|
||||
@@ -93,4 +93,5 @@ $string['privacy:metadata:overviewlasttab'] = 'This stores the last tab selected
|
||||
$string['viewcourse'] = 'View course';
|
||||
|
||||
// Deprecated since Moodle 3.7.
|
||||
$string['complete'] = 'Complete';
|
||||
$string['nocourses'] = 'No courses';
|
||||
@@ -13,4 +13,5 @@ sortbydates,block_myoverview
|
||||
timeline,block_myoverview
|
||||
viewcoursename,block_myoverview
|
||||
privacy:metadata:overviewlasttab,block_myoverview
|
||||
nocourses,block_myoverview
|
||||
nocourses,block_myoverview
|
||||
complete,block_myoverview
|
||||
@@ -30,5 +30,5 @@
|
||||
</div>
|
||||
<div class="small">
|
||||
<span class="sr-only">{{#str}}aria:courseprogress, block_myoverview{{/str}}</span>
|
||||
<strong>{{progress}}%</strong> {{#str}}complete, block_myoverview{{/str}}
|
||||
{{#str}}completepercent, block_myoverview, <strong>{{progress}}</strong>{{/str}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user