summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-01-12 23:04:59 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-12 23:04:59 +0100
commitd2b6fe099a223eb383c6d9e044fb5b71a14f0e23 (patch)
treefb68764ac1360a9d916571c164b34129cc295605 /app
parentf94ec779e66ca7203cd3cf1e807bcf3c983ed736 (diff)
Improvement: menu icons (#4004)
* default icons * icons Flat theme * icons Swage theme * icon gets bright when hover: Ansum theme * icon gets bright when hover: Blue lagoon theme * icon gets bright when hover: Origine/Origine Compact theme * compressed SVG * Better formated SVG/XML files * Update bookmark-tag.svg
Diffstat (limited to 'app')
-rw-r--r--app/Models/Themes.php3
-rw-r--r--app/layout/nav_menu.phtml6
2 files changed, 6 insertions, 3 deletions
diff --git a/app/Models/Themes.php b/app/Models/Themes.php
index 61d62cd1b..8a0842461 100644
--- a/app/Models/Themes.php
+++ b/app/Models/Themes.php
@@ -75,6 +75,7 @@ class FreshRSS_Themes extends Minz_Model {
'all' => '☰',
'bookmark' => '★',
'bookmark-add' => '✚',
+ 'bookmark-tag' => '🔖',
'category' => '☷',
'category-white' => '☷',
'close' => '❌',
@@ -100,6 +101,8 @@ class FreshRSS_Themes extends Minz_Model {
'refresh' => '🔃', //↻
'search' => '🔍',
'share' => '♺',
+ 'sort-down' => '↓',
+ 'sort-up' => '↑',
'starred' => '★',
'stats' => '%',
'tag' => '⚐',
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index 758463420..7fa7ad7cf 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -32,7 +32,7 @@
<div class="dropdown">
<div id="dropdown-query" class="dropdown-target"></div>
- <a class="dropdown-toggle btn" href="#dropdown-query"><?= _i('down') ?></a>
+ <a class="dropdown-toggle btn" href="#dropdown-query" title="<?= _t('index.menu.queries') ?>"><?= _i('bookmark-tag') ?></a>
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li>
@@ -208,11 +208,11 @@
<?php
if (FreshRSS_Context::$order === 'DESC') {
$order = 'ASC';
- $icon = 'up';
+ $icon = 'sort-up';
$title = _t('index.menu.older_first');
} else {
$order = 'DESC';
- $icon = 'down';
+ $icon = 'sort-down';
$title = _t('index.menu.newer_first');
}
$url_order = Minz_Request::currentRequest();