Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
99cb7915
Commit
99cb7915
authored
7 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug for setting incoursesettingsswitchedrole without showsettingsincourse enabled.
parent
d9165ca5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
scss/post.scss
+4
-3
4 additions, 3 deletions
scss/post.scss
with
5 additions
and
3 deletions
CHANGES.md
+
1
−
0
View file @
99cb7915
...
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
*
2018-01-15 - Fixed bug for setting incoursesettingsswitchedrole without showsettingsincourse enabled.
*
2018-01-12 - Fixed bug for the frontpage settings.
*
2018-01-12 - Fixed bug for the profile editing button in admin view.
*
2018-01-11 - Fixed bug in the hierarchical displaying of lists within the course.
...
...
This diff is collapsed.
Click to expand it.
scss/post.scss
+
4
−
3
View file @
99cb7915
...
...
@@ -850,9 +850,10 @@ a[href^="mailto"]::before {
}
}
/* Setting to move 'Switch role to...' menu item to the course settings. */
@if
variable-exists
(
incoursesettingsswitchtorole
)
{
@if
$incoursesettingsswitchtorole
==
'yes'
{
/* Setting to move 'Switch role to...' menu item to the course settings - but only if
setting showsettingsincourse is also enabled. */
@if
(
variable-exists
(
incoursesettingsswitchtorole
)
and
variable-exists
(
showsettingsincourse
))
{
@if
(
$incoursesettingsswitchtorole
==
'yes'
and
$showsettingsincourse
==
'yes'
)
{
/* Hide the switch role to menu item within the user menu */
.usermenu
{
.dropdown-menu
a
[
data-title
*=
"switchroleto"
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment