From 2aee2ea79edebfcd03fb992004a72a45dba931a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20L=C3=B3pez?= Date: Wed, 12 Mar 2025 13:20:51 +0100 Subject: [PATCH] :books: Add US in changes.md --- CHANGES.md | 1 + frontend/src/app/main/ui/dashboard/templates.cljs | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 4de81551f..182695040 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ ### :sparkles: New features - "Mark All as Read" Functionality in Dashboard [Taiga #9235](https://tree.taiga.io/project/penpot/us/9235) +- Change templates carrousel [Taiga #9803](https://tree.taiga.io/project/penpot/us/9803) ### :bug: Bugs fixed diff --git a/frontend/src/app/main/ui/dashboard/templates.cljs b/frontend/src/app/main/ui/dashboard/templates.cljs index 8d617506d..a69b21910 100644 --- a/frontend/src/app/main/ui/dashboard/templates.cljs +++ b/frontend/src/app/main/ui/dashboard/templates.cljs @@ -82,11 +82,11 @@ (tr "dashboard.libraries-and-templates")] (if ^boolean is-collapsed [:span {:class (stl/css :title-icon-container)} - [:span {:class (stl/css :title-icon-text)} (tr "labels.show")] + [:span {:class (stl/css :title-icon-text)} (tr "labels.show")] [:span {:class (stl/css :title-icon :title-icon-collapsed)} arrow-icon]] [:span {:class (stl/css :title-icon-container)} - [:span {:class (stl/css :title-icon-text)} (tr "labels.hide")] + [:span {:class (stl/css :title-icon-text)} (tr "labels.hide")] [:span {:class (stl/css :title-icon)} arrow-icon]])]])) @@ -127,8 +127,8 @@ :loading "lazy" :decoding "async"}]] [:div {:class (stl/css :card-name)} - [:span {:class (stl/css :card-text)} - (if @hover? + [:span {:class (stl/css :card-text)} + (if @hover? (tr "dashboard.template.add-to-project") (:name item))] download-icon]]])) @@ -251,8 +251,8 @@ :collapsed collapsed)} [:> title* {:on-click on-toggle-collapse :is-collapsed collapsed}] - - [:p {:class (stl/css :content-description)} + + [:p {:class (stl/css :content-description)} (tr "dashboard.libraries-and-templates.description")] [:div {:class (stl/css :content)