diff --git a/content/services/gitea.da.md b/content/services/gitea.da.md index 795ca56..b2d790e 100644 --- a/content/services/gitea.da.md +++ b/content/services/gitea.da.md @@ -3,12 +3,13 @@ layout: page title: Gitea service_badges: stability: positive - connection_security: positive - connection_anonymous: partial - storage_encrypted: negative + secure_connection: positive + anonymity: partial + encrypted_storage: negative zero_knowledge: negative - storage_backup: positive + backup: positive logging: negative --- Skriver du kode eller anden tekst som du gerne vil holde under versionsstyring, kan du gemme det her. + diff --git a/data/badges/da/badges.yaml b/data/badges/da/badges.yaml index d6055ef..ede97f6 100644 --- a/data/badges/da/badges.yaml +++ b/data/badges/da/badges.yaml @@ -1,3 +1,13 @@ +# This determines which badges are active and the order to display them in +active_badges: + - stability + - secure_connection + - encrypted_storage + - zero_knowledge + - backup + - logging + - anonymity + badges: stability: diff --git a/i18n/da.toml b/i18n/da.toml index 7d5dd74..ae7a532 100644 --- a/i18n/da.toml +++ b/i18n/da.toml @@ -12,3 +12,13 @@ other = "Status" [tagline] other = "vores data i vores hænder" + +[service_badge_stability] +other = "Stabilitet" + +[service_badges_status_positive] +other = "positiv" +[service_badges_status_negative] +other = "negativ" +[service_badges_status_partial] +other = "delvis" diff --git a/themes/datacoop2020/assets/static/css/style.scss b/themes/datacoop2020/assets/static/css/style.scss index 8fb16ee..9611914 100644 --- a/themes/datacoop2020/assets/static/css/style.scss +++ b/themes/datacoop2020/assets/static/css/style.scss @@ -280,6 +280,29 @@ dl.dl-services, } +.service-badges { + display : grid; + column-gap : 2rem; + grid-template-columns: 1fr 1.5fr auto; + .badge-icon { + grid-column-start : 1; + grid-column-end : 2; + } + .badge-name { + grid-column-start : 2; + grid-column-end : 3; + font-weight : bold; + margin-top: 20px; + } + .badge-description { + grid-column-start : 3; + grid-column-end : 4; + p { + margin-top: 20px; + } + } +} + .badge-status { width: 75px; height: 75px; diff --git a/themes/datacoop2020/layouts/partials/badges.html b/themes/datacoop2020/layouts/partials/badges.html index f0a9d49..0d7ae93 100644 --- a/themes/datacoop2020/layouts/partials/badges.html +++ b/themes/datacoop2020/layouts/partials/badges.html @@ -1,7 +1,9 @@