mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Follow-up for MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually. Reorder.
This commit is contained in:
parent
b741d2ef95
commit
d2bd42498c
@ -197,7 +197,7 @@
|
||||
echo '<li id="section-'.$section.'" class="section main'.$sectionstyle.'" >'; //'<div class="left side"> </div>';
|
||||
|
||||
// Note, 'right side' is BEFORE content.
|
||||
echo '<div class="right side">'.$currenttext;
|
||||
echo '<div class="right side">';
|
||||
|
||||
if ($displaysection == $section) {
|
||||
echo '<a href="view.php?id='.$course->id.'&week=0#section-'.$section.'" title="'.$strshowallweeks.'">'.
|
||||
@ -230,10 +230,10 @@
|
||||
|
||||
echo '<div class="content">';
|
||||
if (!has_capability('moodle/course:viewhiddensections', $context) and !$thissection->visible) { // Hidden for students
|
||||
echo '<div class="weekdates">'.$weekday.' - '.$endweekday.' ('.get_string('notavailable').')</div>';
|
||||
echo '<div class="weekdates">'.$currenttext.$weekday.' - '.$endweekday.' ('.get_string('notavailable').')</div>';
|
||||
|
||||
} else {
|
||||
echo '<div class="weekdates">'.$weekday.' - '.$endweekday.'</div>';
|
||||
echo '<div class="weekdates">'.$currenttext.$weekday.' - '.$endweekday.'</div>';
|
||||
|
||||
echo '<div class="summary">';
|
||||
$summaryformatoptions->noclean = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user