Skip to content

Commit

Permalink
Add color code for total access and resolve migration error
Browse files Browse the repository at this point in the history
  • Loading branch information
lunars97 committed May 22, 2024
1 parent bf7a154 commit 8a86bc1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion integreat_cms/cms/constants/language_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
ALMOND: Final = "#FFDAB9"
CHERRY: Final = "#D62728"

TOTAL_ACCESS: Final = "#3b82f6"
TOTAL_ACCESS: Final = "#000000"
WEB_APP_ACCESS: Final = "#FF00A8"
OFFLINE_ACCESS: Final = "#0500FF"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Migration(migrations.Migration):
"""

dependencies = [
("cms", "0089_add_poicategory_icons"),
("cms", "0088_rename_mt_related_fields"),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Migration(migrations.Migration):
"""

dependencies = [
("cms", "0088_rename_mt_related_fields"),
("cms", "0089_add_language_color"),
]

operations = [
Expand Down
1 change: 0 additions & 1 deletion integreat_cms/matomo_api/matomo_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import logging
import re
from datetime import date, datetime
from itertools import cycle
from typing import TYPE_CHECKING
from urllib.parse import urlencode

Expand Down
2 changes: 1 addition & 1 deletion tests/cms/views/view_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@
"text_direction": "LEFT_TO_RIGHT",
"table_of_contents": "Inhaltsverzeichnis",
"primary_country_code": "de",
"language_color": "red",
"language_color": "#FF4500",
"message_content_not_available": "Foo1",
"message_partial_live_content_not_available": "Foo2",
},
Expand Down

0 comments on commit 8a86bc1

Please sign in to comment.