mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Fixed addcourse button on home page
This commit is contained in:
parent
69cb58efdc
commit
6b7425d2cb
@ -1762,7 +1762,7 @@ function print_courses($category, $width="100%", $hidesitecourse = false) {
|
||||
if (has_capability('moodle/course:create', $context)) {
|
||||
$options = array();
|
||||
$options['category'] = $category->id;
|
||||
echo '<div class="addcoursebutton" align="center">';
|
||||
echo '<div class="addcoursebutton">';
|
||||
print_single_button($CFG->wwwroot.'/course/edit.php', $options, get_string("addnewcourse"));
|
||||
echo '</div>';
|
||||
}
|
||||
|
@ -640,6 +640,11 @@ body#admin-roles-manage table.generalbox {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
body#admin-index .copyrightnotice {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#admin-report-simpletest-index .exception pre {
|
||||
padding: 8px;
|
||||
}
|
||||
@ -1436,6 +1441,10 @@ body#course-view .headingblock {
|
||||
padding-bottom:10px;
|
||||
}
|
||||
|
||||
.addcoursebutton {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.coursebox .cost {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user