diff --git a/assets/src/bundles/webapp/webapp.css b/assets/src/bundles/webapp/webapp.css --- a/assets/src/bundles/webapp/webapp.css +++ b/assets/src/bundles/webapp/webapp.css @@ -312,7 +312,7 @@ color: #fecd1b; } -.swh-banner-iframe { +.swh-banner { height: 30px; position: fixed; top: 30px; @@ -322,6 +322,13 @@ border: none; } +.swh-banner .row { + height: 30px; + background-color: #fecd1b; + color: #e20026; + font-size: larger; +} + .swh-position-left { position: absolute; left: 0; diff --git a/swh/web/common/utils.py b/swh/web/common/utils.py --- a/swh/web/common/utils.py +++ b/swh/web/common/utils.py @@ -318,6 +318,7 @@ "ADD_FORGE_MODERATOR_PERMISSION": ADD_FORGE_MODERATOR_PERMISSION, "FEATURES": get_config()["features"], "MAILMAP_ADMIN_PERMISSION": MAILMAP_ADMIN_PERMISSION, + "lang": "en", } diff --git a/swh/web/misc/urls.py b/swh/web/misc/urls.py --- a/swh/web/misc/urls.py +++ b/swh/web/misc/urls.py @@ -53,7 +53,7 @@ return render( request, - "misc/hiring-banner.html", + "misc/hiring-banner-iframe.html", { "lang": lang if lang else "en", }, diff --git a/swh/web/templates/layout.html b/swh/web/templates/layout.html --- a/swh/web/templates/layout.html +++ b/swh/web/templates/layout.html @@ -138,7 +138,9 @@ - +
+ {% include "misc/hiring-banner.html" %} +