Skip to content

Commit ed47e03

Browse files
committed
Update django-colortag and js-jquery-toggle versions
1 parent b79760a commit ed47e03

5 files changed

Lines changed: 7 additions & 12 deletions

File tree

assets/css/main.css

Lines changed: 3 additions & 3 deletions
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/base/_general.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ h1, .h1, h2, .h2, h3, .h3 {
9090
padding-left: 3px;
9191
}
9292

93-
// Django-colortag has hardcoded "label" class, but it's no longer present in BS5
94-
.colortag.label {
95-
@extend .badge;
96-
}
97-
9893
legend {
9994
border-bottom: 1px solid var(--bs-secondary-bg, #e5e5e5);;
10095
}

course/static/course/usertagdropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ document.addEventListener('aplus:translation-ready', function() {
3232
if (userContainer) {
3333
const dropdown = userContainer.querySelector('.dropdown');
3434
if (dropdown) {
35-
dropdown.insertAdjacentHTML('beforebegin', django_colortag_label(tag) + ' ');
35+
dropdown.insertAdjacentHTML('beforebegin', django_colortag_badge(tag) + ' ');
3636
}
3737
}
3838
if (typeof extra_click_handler === 'function') {

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ djangorestframework ~= 3.14.0
88
djangorestframework-csv ~= 2.1.0
99
git+https://github.com/apluslms/drf-extensions.git@reimplement_nested_routes_v6#egg=drf_extensions==0.8.0.dev1
1010
git+https://github.com/apluslms/django-essentials.git@1.6.0#egg=django-essentials==1.6.0
11-
git+https://github.com/apluslms/js-jquery-toggle.git@1.1.0#egg=js-jquery-toggle-django==1.1.0&subdirectory=django
12-
git+https://github.com/apluslms/django-colortag.git@2.4.0#egg=django-colortag==2.4.0
11+
git+https://github.com/apluslms/js-jquery-toggle.git@2.0.0#egg=js-jquery-toggle-django~=2.0.0&subdirectory=django
12+
git+https://github.com/apluslms/django-colortag.git@3.0.0#egg=django-colortag~=3.0.0
1313
feedparser ~= 6.0.2
1414
html5lib ~= 1.1
1515
lxml ~= 5.3.1

0 commit comments

Comments
 (0)