From 74ca36c5b471a057d2bb20084b14d7cd3ef44fae Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Wed, 11 Feb 2026 15:32:26 +0200 Subject: [PATCH] fix(ks,backend): make excel-download page better UI-wise Make the excel-download page content more easily digestable by putting the employer application excel downloads into a table, and by using spacing and indentation for easier "this is the same context" and "this is not the same context" understanding visually (i.e. by using the Gestalt principle of closeness). Also change the tags with role="button" to forms & with buttons for accessibility. refs YJDH-809 --- .../templates/application_excel_download.html | 166 ++++++++++++------ 1 file changed, 110 insertions(+), 56 deletions(-) diff --git a/backend/kesaseteli/applications/templates/application_excel_download.html b/backend/kesaseteli/applications/templates/application_excel_download.html index b0f7bd1bf2..731d6108e9 100644 --- a/backend/kesaseteli/applications/templates/application_excel_download.html +++ b/backend/kesaseteli/applications/templates/application_excel_download.html @@ -3,6 +3,16 @@ + +
{% if error %} -

Lataa Excel tiedostoja

+

{% trans 'Lataa Excel-tiedostoja' %}


-

Työnantajien kesäsetelihakemukset:

-
+

{% trans 'Työnantajien kesäsetelihakemukset' %}

-

- {% trans 'Luo uusi excel tiedosto kaikista järjestelmän käsittelemättömistä hakemuksista. Kun hakemus lisätään - käsittelemättömien hakemusten excel tiedostoon, se merkataan järjestelmässä "käsitellyiksi" eikä sitä tuoda enää - seuraavaan käsittelemättömien hakemusten exceliin.' %} -

- -
- -
-

- {% trans 'Luo uusi excel tiedosto kaikista järjestelmän tämän vuoden hakemuksista. Tiedosto sisältää myös kaikki - käsitellyt hakemukset.' %} +

+ {% blocktranslate %} + HUOM: + Kun hakemus on merkitty käsitellyksi, se ei enää tule käsittelemättömien Excel-latauksiin! + {% endblocktranslate %}

- -
- -
-

- {% trans 'Luo uusi excel tiedosto kaikista järjestelmän viime vuoden hakemuksista. Tiedosto sisältää myös kaikki - käsitellyt hakemukset.' %} -

- -
- -
-

Nuorten kesäsetelihakemukset:

-
+ + + + + + + + + + + - + + + + + + + + + + + + + + +
{% trans 'Työnantajien hakemukset' %}{% trans 'Raportointi-Excel' %}{% trans 'Talpa-Excel' %}
+ {% trans 'Käsittelemättömät' %} + +
+ + + +
+
+
+ + + +
+
+ {% trans 'Kaikki tämän vuoden (myös käsitellyt)' %} + +
+ + + +
+
+
+ + + +
+
+ {% trans 'Kaikki viime vuoden (myös käsitellyt)' %} + +
+ + + +
+
+
+ + + +
+
-
\ No newline at end of file +

{% trans 'Nuorten kesäsetelihakemukset' %}

+ +
+
+ +
+
+