This commit is contained in:
Sara Arjona
2021-12-01 11:35:01 +01:00
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -126,5 +126,18 @@ class block_myoverview extends block_base {
return false;
}
}
/**
* Hide the block header on the my courses page.
*
* @return boolean
*/
public function hide_header() {
if ($this->page->blocks->is_known_region(BLOCK_POS_LEFT) || $this->page->blocks->is_known_region(BLOCK_POS_RIGHT)) {
return false;
} else {
return true;
}
}
}
+1 -1
View File
@@ -27,7 +27,7 @@
}}
<div class="btn-group">
<!-- Set as a link to appease Goutte behat. -->
<a href="#" class="btn btn-link btn-icon icon-size-3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{#str}}coursemanagementoptions, my{{/str}}">
<a href="#" class="btn btn-link btn-icon icon-size-3 rounded-circle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{#str}}coursemanagementoptions, my{{/str}}">
<i class="fa fa-ellipsis-v text-dark py-2" aria-hidden="true"></i>
</a>
<div class="dropdown-menu dropdown-menu-right">