Merge branch 'MDL-71570-master' of git://github.com/mihailges/moodle

This commit is contained in:
Sara Arjona 2021-05-10 15:38:24 +02:00
commit f08cbfa679
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
}}
<form>
<div class="form-group">
<label for="core_grades-grade-{{uniqid}}">{{#str}}grade, moodle{{/str}}</label>
<label for="core_grades-grade-{{uniqid}}">{{#str}}gradenoun, moodle{{/str}}</label>
<input class="form-control" type="number" name="grade" value="{{grade}}" id="core_grades-grade-{{uniqid}}" aria-describedby="core_grades-help-{{uniqid}}">
<small id="core_grades-help-{{uniqid}}" class="form-text text-muted">{{#str}}grade_help, core_grades{{/str}}</small>
</div>

View File

@ -30,7 +30,7 @@
}}
<form>
<div class="form-group">
<label for="core_grades-grade-{{uniqid}}">{{#str}}grade, moodle{{/str}}</label>
<label for="core_grades-grade-{{uniqid}}">{{#str}}gradenoun, moodle{{/str}}</label>
<select class="form-control" name="grade" id="core_grades-grade-{{uniqid}}" aria-describedby="core_grades-help-{{uniqid}}">
<option value="-1">{{#str}} nograde, moodle{{/str}}</option>
{{#options}}

View File

@ -40,7 +40,7 @@
<div class="container-fluid grade-display" data-region="view-grade">
{{#grade}}
<div class="row px-3">
<h5 class="font-weight-bold description">{{#str}}grade{{/str}}:</h5>
<h5 class="font-weight-bold description">{{#str}}gradenoun{{/str}}:</h5>
<p class="ml-auto">{{usergrade}} / {{maxgrade}}</p>
</div>
<div class="row px-3">