From 13560432579cf75728b159f989f735f7586ca49f Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Wed, 23 Jun 2021 19:45:04 +0200 Subject: [PATCH] Add label to assets icons (#591) * Add label to assets icons * Add tooltip to asset icon --- .../src/components/Recipe/Parts/Assets.vue | 66 ++++++++++++------- .../Recipe/Parts/Helpers/SettingsMenu.vue | 2 +- frontend/src/locales/messages/en-US.json | 13 +++- 3 files changed, 55 insertions(+), 26 deletions(-) diff --git a/frontend/src/components/Recipe/Parts/Assets.vue b/frontend/src/components/Recipe/Parts/Assets.vue index 9933ea88954f..03114b5be6bd 100644 --- a/frontend/src/components/Recipe/Parts/Assets.vue +++ b/frontend/src/components/Recipe/Parts/Assets.vue @@ -2,13 +2,18 @@
- {{ $t("recipe.assets") }} + {{ $t("asset.assets") }} - + + + {{ getIconDefinition(item.icon).title }} + @@ -29,7 +34,7 @@
- +