From 289c6f24af99cf2f20dc33dffe351cc825e0963c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20Fran=C3=A7ois?= Date: Tue, 29 Oct 2024 16:14:31 +0100 Subject: [PATCH] :art: add detail link to go to mission detail --- orga/app/styles/app.scss | 1 + .../styles/pages/authenticated/mission/list.scss | 16 ++++++++++++++++ .../templates/authenticated/missions/list.hbs | 8 +++++++- orga/translations/en.json | 4 ++++ orga/translations/fr.json | 4 ++++ orga/translations/nl.json | 6 +++++- 6 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 orga/app/styles/pages/authenticated/mission/list.scss diff --git a/orga/app/styles/app.scss b/orga/app/styles/app.scss index dd0826789a1..7d2bfd603d8 100644 --- a/orga/app/styles/app.scss +++ b/orga/app/styles/app.scss @@ -75,6 +75,7 @@ @import 'pages/authenticated/campaigns/participant-profile'; @import 'pages/authenticated/certifications'; @import 'pages/authenticated/mission'; +@import 'pages/authenticated/mission/list'; @import 'pages/authenticated/organization-participants/list'; @import 'pages/authenticated/organization-participants/deletion-modal'; @import 'pages/authenticated/sup-organization-participants/list'; diff --git a/orga/app/styles/pages/authenticated/mission/list.scss b/orga/app/styles/pages/authenticated/mission/list.scss new file mode 100644 index 00000000000..b6aecf106e0 --- /dev/null +++ b/orga/app/styles/pages/authenticated/mission/list.scss @@ -0,0 +1,16 @@ +.mission-list { + &__table { + th { + color: var(--pix-neutral-900); + font-weight: 700; + } + + td { + color: var(--pix-neutral-900); + } + + a { + text-decoration: underline; + } + } +} diff --git a/orga/app/templates/authenticated/missions/list.hbs b/orga/app/templates/authenticated/missions/list.hbs index 562886b8047..18c621572be 100644 --- a/orga/app/templates/authenticated/missions/list.hbs +++ b/orga/app/templates/authenticated/missions/list.hbs @@ -64,13 +64,14 @@ {{#if @model.missions}}
- +
{{t "pages.missions.list.headers.name"}}{{t "pages.missions.list.headers.competences"}}{{t "pages.missions.list.headers.started-by"}} + {{t "pages.missions.list.headers.actions"}} @@ -93,6 +94,11 @@ {{mission.startedBy}} {{/if}} + {{/each}} diff --git a/orga/translations/en.json b/orga/translations/en.json index 9085819be40..de0f5397600 100644 --- a/orga/translations/en.json +++ b/orga/translations/en.json @@ -877,6 +877,9 @@ "missions": { "title": "Missions", "list": { + "actions": { + "see-mission-details": "See details" + }, "aria-label": "Mission", "banner": { "copypaste-container": { @@ -910,6 +913,7 @@ "caption": "List of missions", "empty-state": "There is not any mission", "headers": { + "actions": "Actions", "competences": "Targeted DigComp competence", "name": "Mission", "started-by": "Started by" diff --git a/orga/translations/fr.json b/orga/translations/fr.json index 050eca014d2..9b4af5cf94d 100644 --- a/orga/translations/fr.json +++ b/orga/translations/fr.json @@ -883,6 +883,9 @@ "missions": { "title": "Missions", "list": { + "actions": { + "see-mission-details": "Voir le détail" + }, "aria-label": "Mission", "banner": { "copypaste-container": { @@ -916,6 +919,7 @@ "caption": "Liste des missions", "empty-state": "Il n'y a pas de missions", "headers": { + "actions": "Actions", "competences": "Compétences du CRCN travaillées", "name": "Mission", "started-by": "Commencé par" diff --git a/orga/translations/nl.json b/orga/translations/nl.json index e567b288137..340fd1f6de0 100644 --- a/orga/translations/nl.json +++ b/orga/translations/nl.json @@ -911,7 +911,11 @@ "headers": { "competences": "Vaardigheden waaraan is gewerkt", "name": "Opdracht", - "started-by": "Gestart door" + "started-by": "Gestart door", + "actions": "Acties" + }, + "actions": { + "see-mission-details": "Zie details" }, "no-division": "Geen klas", "non-admin": {
{{t "pages.missions.list.caption"}}
+ {{t + "pages.missions.list.actions.see-mission-details" + }} +