Commit 92bc56e8 authored by Camille Tardy's avatar Camille Tardy
Browse files

edit version number -> 3.9, remove new edit course button in course header

parent 987c9a52
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*Author : University of Geneva, 2018* *Author : University of Geneva, 2018*
Boost Child theme for Moodle 3.7 and 3.8. Boost Child theme for Moodle 3.7 to 3.9.
A related Mahara theme can be found [in our Gitlab](https://gitlab.unige.ch/portfolio/Theme-Mahara) A related Mahara theme can be found [in our Gitlab](https://gitlab.unige.ch/portfolio/Theme-Mahara)
......
...@@ -584,6 +584,15 @@ class core_renderer extends \theme_boost\output\core_renderer { ...@@ -584,6 +584,15 @@ class core_renderer extends \theme_boost\output\core_renderer {
return $html; return $html;
} }
/**
* Override the edit mode button for course page
*
* @return string
*/
public function edit_button(moodle_url $url){
//Do not use this function use one bellow.
}
/** /**
* Get the edit mode button for course page * Get the edit mode button for course page
* *
......
...@@ -182,6 +182,12 @@ body { ...@@ -182,6 +182,12 @@ body {
[data-fieldtype="editor"]>div { [data-fieldtype="editor"]>div {
width: 100%; width: 100%;
} }
// renders video responsive
video {
width: 100%;
height: auto;
}
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
...@@ -745,6 +751,10 @@ select + .btn-group, .btn-group + .btn { ...@@ -745,6 +751,10 @@ select + .btn-group, .btn-group + .btn {
color: $brand-primary; color: $brand-primary;
} }
.coursehidden {
color: #757575;
}
.categoryname{ .categoryname{
font-size: 0.8rem; font-size: 0.8rem;
} }
......
...@@ -72,7 +72,6 @@ ...@@ -72,7 +72,6 @@
</div> </div>
</div> </div>
{{{ output.standard_after_main_region_html }}} {{{ output.standard_after_main_region_html }}}
{{# output.page_doc_link }} {{# output.page_doc_link }}
<p class="helplink" style="text-align: center;">{{{ output.page_doc_link }}}</p> <p class="helplink" style="text-align: center;">{{{ output.page_doc_link }}}</p>
{{/ output.page_doc_link }} {{/ output.page_doc_link }}
......
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
secure navbar. // without link to index page in logo in header.
}}
<nav class="fixed-top navbar navbar-light bg-white navbar-expand moodle-has-zindex">
<div class="navbar-brand {{# output.should_display_navbar_logo }}has-logo{{/ output.should_display_navbar_logo }}
{{^ output.should_display_navbar_logo }}
d-none d-sm-inline
{{/ output.should_display_navbar_logo }}
">
{{# output.should_display_navbar_logo }}
<span class="logo d-none d-sm-inline">
<img src="{{output.get_compact_logo_url}}" alt="{{sitename}}">
</span>
{{/ output.should_display_navbar_logo }}
<span class="site-name d-none d-md-inline">{{{ sitename }}}</span>
</div>
<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
{{{ output.secure_login_info }}}
</li>
</ul>
</nav>
\ No newline at end of file
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
// This is the version of the plugin // This is the version of the plugin
$plugin->version = '2019112500'; $plugin->version = '2021071300';
$plugin->release = '3.7.0'; $plugin->release = '3.9.0';
// This is the version of Moodle this plugin requires // This is the version of Moodle this plugin requires
$plugin->requires = '2018051700'; $plugin->requires = '2018051700';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment