From 0ffd77762acd0283faa5bee217343328db9d7261 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 22 Nov 2018 18:54:27 +0000 Subject: [PATCH] make menu option look somewhat better --- res/img/icons-gridview.svg | 103 ++++++++++++++++++ .../views/context_menus/TagTileContextMenu.js | 6 + src/i18n/strings/en_EN.json | 3 +- 3 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 res/img/icons-gridview.svg diff --git a/res/img/icons-gridview.svg b/res/img/icons-gridview.svg new file mode 100644 index 0000000000..862ca63765 --- /dev/null +++ b/res/img/icons-gridview.svg @@ -0,0 +1,103 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/src/components/views/context_menus/TagTileContextMenu.js b/src/components/views/context_menus/TagTileContextMenu.js index b8930efefe..5cd5aea27a 100644 --- a/src/components/views/context_menus/TagTileContextMenu.js +++ b/src/components/views/context_menus/TagTileContextMenu.js @@ -75,6 +75,12 @@ export default class TagTileContextMenu extends React.Component { { _t('View Community') }
+ { _t('View as grid') }

diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index c137253a43..f592ad6441 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1348,5 +1348,6 @@ "Import": "Import", "Failed to set direct chat tag": "Failed to set direct chat tag", "Failed to remove tag %(tagName)s from room": "Failed to remove tag %(tagName)s from room", - "Failed to add tag %(tagName)s to room": "Failed to add tag %(tagName)s to room" + "Failed to add tag %(tagName)s to room": "Failed to add tag %(tagName)s to room", + "View as grid": "View as grid" }