aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/global.phtml
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-11-15 09:14:23 +0100
committerGravatar GitHub <noreply@github.com> 2024-11-15 09:14:23 +0100
commit5b9248f45f0ce93f9ffe2252f5fb955032ecd529 (patch)
tree4f53f9a00979963658f5520de59ffa59edce4e6a /app/views/index/global.phtml
parent916987717ef1879c3d9f029a43599e54adcb626c (diff)
New: Label menu in article row (#6984)
* configs * add the icon in the entry header line * rename comment * Update main.js * CSS * comment typo fix * fix gloabl view my labels menu * improved: my labels dropdown with triangle now. yay!
Diffstat (limited to 'app/views/index/global.phtml')
-rw-r--r--app/views/index/global.phtml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml
index 717560fd2..decde4cce 100644
--- a/app/views/index/global.phtml
+++ b/app/views/index/global.phtml
@@ -21,6 +21,21 @@
<a class="dropdown-close" href="#close">❌</a>
</template>
+<template id="labels_article_template">
+ <div class="dropdown-menu">
+ <ul class="dropdown-menu-scrollable scrollbar-thin">
+ <li class="dropdown-header">
+ <?= _t('index.menu.tags') ?>
+ <?php if (FreshRSS_Auth::hasAccess()) { ?>
+ <a href="<?= _url('tag', 'index') ?>"><?= _i('configure') ?></a>
+ <?php } ?>
+ </li>
+ <!-- Ajax -->
+ </ul>
+ </div>
+ <a class="dropdown-close" href="#close">❌</a>
+</template>
+
<main id="stream" class="global<?= $class ?>">
<h1 class="title_hidden"><?= _t('conf.reading.view.global') ?></h1>
<?php