Skip to content

Commit

Permalink
Merge pull request #2350 from digitalfabrik/obdach-branding
Browse files Browse the repository at this point in the history
Add branding for network shelter & housing
  • Loading branch information
timobrembeck committed Jul 23, 2023
2 parents 2539717 + 23df7a0 commit e8f902e
Show file tree
Hide file tree
Showing 11 changed files with 279 additions and 4 deletions.
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.

0 comments on commit e8f902e

Please sign in to comment.