Skip to content

Commit c6b8e31

Browse files
committed
Fix breadcrumbs
1 parent f672073 commit c6b8e31

58 files changed

Lines changed: 83 additions & 91 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/css/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sass/components/_breadcrumb.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,4 @@
44
list-style: none;
55
background-color: var(--bs-secondary-bg, #f5f5f5);
66
border-radius: 4px;
7-
/*> .active {
8-
color: #333;
9-
}*/ // TODO: CHECK FOR REMOVAL #1442
107
}
11-
.breadcrumb>li+li:before {
12-
padding: 0 5px;
13-
//color: #ccc; // TODO: CHECK FOR REMOVAL #1442
14-
content: "";
15-
}

course/templates/course/enroll.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% block view_tag %}enroll{% endblock %}
88
{% block breadcrumblist %}
99
{{ block.super }}
10-
<li class="active">{% translate "ENROLLMENT" %}</li>
10+
<li class="breadcrumb-item active">{% translate "ENROLLMENT" %}</li>
1111
{% endblock %}
1212

1313
{% block coursecontent %}

course/templates/course/groups.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
{% block breadcrumblist %}
1212
{{ block.super }}
13-
<li class="active">{% translate "MY_GROUPS" %}</li>
13+
<li class="breadcrumb-item active">{% translate "MY_GROUPS" %}</li>
1414
{% endblock %}
1515

1616
{% block columns %}

course/templates/course/module.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
{% block breadcrumblist %}
1313
{{ block.super }}
14-
<li class="active">{{ current.name|parse_localization }}</li>
14+
<li class="breadcrumb-item active">{{ current.name|parse_localization }}</li>
1515
{% endblock %}
1616

1717
{% block coursecontent %}

course/templates/course/staff/all_submissions_table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
{% block breadcrumblist %}
1212
{{ block.super }}
13-
<li class="active">{% translate "ALL_SUBMISSIONS" %}</li>
13+
<li class="breadcrumb-item active">{% translate "ALL_SUBMISSIONS" %}</li>
1414
{% endblock %}
1515

1616
{% block columns %}

course/templates/course/staff/enroll_students.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
{% block breadcrumblist %}
1111
{{ block.super }}
12-
<li><a href="{{ instance|url:'participants' }}">{% translate "PARTICIPANTS" %}</a></li>
13-
<li class="active">{% translate "ENROLL_STUDENTS" %}</li>
12+
<li class="breadcrumb-item"><a href="{{ instance|url:'participants' }}">{% translate "PARTICIPANTS" %}</a></li>
13+
<li class="breadcrumb-item active">{% translate "ENROLL_STUDENTS" %}</li>
1414
{% endblock %}
1515

1616
{% block columns %}

course/templates/course/staff/group_delete.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
{% block breadcrumblist %}
1010
{{ block.super }}
11-
<li><a href="{{ instance|url:'groups-list' }}">{% translate "GROUPS" %}</a></li>
12-
<li class="active">{% translate "REMOVE" %}</li>
11+
<li class="breadcrumb-item"><a href="{{ instance|url:'groups-list' }}">{% translate "GROUPS" %}</a></li>
12+
<li class="breadcrumb-item active">{% translate "REMOVE" %}</li>
1313
{% endblock %}
1414

1515
{% block columns %}

course/templates/course/staff/group_edit.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
{% block breadcrumblist %}
1111
{{ block.super }}
12-
<li><a href="{{ instance|url:'groups-list' }}">{% translate "GROUPS" %}</a></li>
13-
<li class="active">{% translate "EDIT" %}</li>
12+
<li class="breadcrumb-item"><a href="{{ instance|url:'groups-list' }}">{% translate "GROUPS" %}</a></li>
13+
<li class="breadcrumb-item active">{% translate "EDIT" %}</li>
1414
{% endblock %}
1515

1616
{% block columns %}

0 commit comments

Comments
 (0)