diff --git a/package-lock.json b/package-lock.json index d5d2bed807..782340f1e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@emotion/styled": "^11.3.0", "@fortawesome/fontawesome-free": "^6.4.2", "@joeattardi/emoji-button": "^4.6.4", - "@open-inwoner/design-tokens": "^0.0.5-alpha.5", + "@open-inwoner/design-tokens": "^0.0.3-alpha.0", "@tarekraafat/autocomplete.js": "^10.2.6", "bem.js": "^1.0.10", "emojibase-data": "^7.0.1", diff --git a/requirements/base.txt b/requirements/base.txt index 1e9efa54f8..a22f933406 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -225,7 +225,7 @@ django-localflavor==3.1 # via -r requirements/base.in django-log-outgoing-requests==0.6.1 # via -r requirements/base.in -django-open-forms-client==0.3.0 +django-open-forms-client==0.4.0 # via -r requirements/base.in django-ordered-model==3.7.4 # via diff --git a/requirements/ci.txt b/requirements/ci.txt index 23dc3d7761..8fc1de45f8 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -379,7 +379,7 @@ django-log-outgoing-requests==0.6.1 # via # -c requirements/base.txt # -r requirements/base.txt -django-open-forms-client==0.3.0 +django-open-forms-client==0.4.0 # via # -c requirements/base.txt # -r requirements/base.txt diff --git a/requirements/dev.txt b/requirements/dev.txt index e2427937b9..d462052bcc 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -423,7 +423,7 @@ django-log-outgoing-requests==0.6.1 # via # -c requirements/ci.txt # -r requirements/ci.txt -django-open-forms-client==0.3.0 +django-open-forms-client==0.4.0 # via # -c requirements/ci.txt # -r requirements/ci.txt diff --git a/src/open_inwoner/components/templates/components/File/File.html b/src/open_inwoner/components/templates/components/File/File.html index 7a03c59646..8e8e4c780c 100644 --- a/src/open_inwoner/components/templates/components/File/File.html +++ b/src/open_inwoner/components/templates/components/File/File.html @@ -18,11 +18,11 @@ {{ name }} {% if extension and size %} - ({{extension}}, {{size|readable_size}}) + ({{ extension }}, {{ size|readable_size }}) {% elif extension %} - ({{extension}}) + ({{ extension }}) {% elif size %} - ({{size|readable_size}}) + ({{ size|readable_size }}) {% endif %} {{ created|date:'j F Y' }} @@ -50,7 +50,7 @@ {% enddropdown %} {% elif show_download %} {% trans "Download" as download %} - {% link href=url text=download primary=True download=True hide_text=True extra_classes="file__download" icon="download" icon_outlined=True icon_position="before" %} + {% link href=url text=download|add:" "|add:name primary=True download=True hide_text=True extra_classes="file__download" icon="download" icon_outlined=True icon_position="before" %} {% endif %} {% if description %}
{{ description }}
{% endif %} diff --git a/src/open_inwoner/components/templates/components/Header/Header.html b/src/open_inwoner/components/templates/components/Header/Header.html index 45f8d477db..f622bee1e3 100644 --- a/src/open_inwoner/components/templates/components/Header/Header.html +++ b/src/open_inwoner/components/templates/components/Header/Header.html @@ -32,7 +32,7 @@ {# end of mobile header-menu with logo #} -