Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add branding for network shelter & housing #2350

Merged
merged 1 commit into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion example-configs/integreat-cms.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CURRENT_TIME_ZONE = Europe/Berlin
COMPANY = Tür an Tür – Digitalfabrik gGmbH
# The URL to the company's website [optional, defaults to "https://tuerantuer.de/digitalfabrik/"]
COMPANY_URL = https://tuerantuer.de/digitalfabrik/
# The branding of the CMS [optional, defaults to "integreat", must be one of ["integreat", "malte", "aschaffenburg"]]
# The branding of the CMS [optional, defaults to "integreat", must be one of ["integreat", "malte", "aschaffenburg", "netzwerk-obdach"]]
BRANDING = integreat
# The list of languages which are available in the UI [optional, defaults to "de" and "en"]
LANGUAGES =
Expand Down
2 changes: 1 addition & 1 deletion integreat_cms/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
)

#: The available inbuilt brandings of the CMS
AVAILABLE_BRANDINGS = ["integreat", "malte", "aschaffenburg"]
AVAILABLE_BRANDINGS = ["integreat", "malte", "aschaffenburg", "netzwerk-obdach"]

#: The branding of the CMS
BRANDING = os.environ.get("INTEGREAT_CMS_BRANDING", "integreat")
Expand Down
2 changes: 1 addition & 1 deletion integreat_cms/release_notes/2022/2022.4.2/1093.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
en: Add Malte and Aschaffenburg brandings
de: Malte und Aschaffenburger Brandzeichen hinzufügen
de: Füge Brandings für Malte und Aschaffenburg hinzu
2 changes: 2 additions & 0 deletions integreat_cms/release_notes/current/unreleased/2350.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
en: Add branding for network shelter & housing
de: Füge Branding für Netzwerk Obdach & Wohnen hinzu
9 changes: 9 additions & 0 deletions integreat_cms/static/src/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ nav#primary-navigation {
@apply text-white bg-[#4d7679];
}
}
&.netzwerk-obdach-branding {
a {
@apply hover:text-white hover:bg-[#e55129];
}
a.active,
.active > a {
@apply text-white bg-[#e55129];
}
}
}
}

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.