mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02:00
Merge branch 'MDL-54832-master' of https://github.com/nashtechdev01/moodle
This commit is contained in:
commit
1d17f51a8d
@ -322,6 +322,7 @@ $string['userdatemodified'] = 'modified on <span>{$a}</span>';
|
||||
$string['userplan'] = 'Workshop planner';
|
||||
$string['userplancurrentphase'] = 'Current phase';
|
||||
$string['userplan_help'] = 'The workshop planner displays all phases of the activity and lists the tasks for each phase. The current phase is highlighted and task completion is indicated with a tick.';
|
||||
$string['userplanaccessibilitytitle'] = 'Workshop timeline with {$a} phases';
|
||||
$string['useselfassessment'] = 'Use self-assessment';
|
||||
$string['useselfassessment_help'] = 'If enabled, a user may be allocated their own submission to assess and will receive a grade for assessment in addition to a grade for their submission.';
|
||||
$string['useselfassessment_desc'] = 'Students may assess their own work';
|
||||
|
@ -283,6 +283,9 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
||||
protected function render_workshop_user_plan(workshop_user_plan $plan) {
|
||||
$table = new html_table();
|
||||
$table->attributes['class'] = 'userplan';
|
||||
$table->attributes['role'] = 'section';
|
||||
$numberofphases = count($plan->phases);
|
||||
$table->attributes['aria-label'] = get_string('userplanaccessibilitytitle', 'workshop', $numberofphases);
|
||||
$table->head = array();
|
||||
$table->colclasses = array();
|
||||
$row = new html_table_row();
|
||||
|
Loading…
x
Reference in New Issue
Block a user