diff options
| author | 2023-11-16 13:18:33 +0100 | |
|---|---|---|
| committer | 2023-11-16 13:18:33 +0100 | |
| commit | 0504fc6766c3128c8d39f10a0b9d4bae3d1db1c7 (patch) | |
| tree | 6808e86e861b0782e14fcaa71ca3d7dcf60ee73f /app/views/helpers/index/normal/entry_bottom.phtml | |
| parent | 96515d02bec0baeb6d4f097a3c38ceeae04c7c7c (diff) | |
Added: Display option for "My labels" (#5884)
* configs
* Update entry_bottom.phtml
* i18n strings
* fix phpstand found error
* reuse existing i18n string
---------
Co-authored-by: math-gh <>
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
| -rw-r--r-- | app/views/helpers/index/normal/entry_bottom.phtml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index 665935415..37a6de042 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -3,7 +3,7 @@ $bottomline_read = FreshRSS_Context::$user_conf->bottomline_read; $bottomline_favorite = FreshRSS_Context::$user_conf->bottomline_favorite; $bottomline_sharing = FreshRSS_Context::$user_conf->bottomline_sharing && (count(FreshRSS_Context::$user_conf->sharing) > 0); - $bottomline_labels = true; //TODO + $bottomline_myLabels = FreshRSS_Context::$user_conf->bottomline_myLabels; $bottomline_tags = FreshRSS_Context::$user_conf->bottomline_tags; $bottomline_date = FreshRSS_Context::$user_conf->bottomline_date; $bottomline_link = FreshRSS_Context::$user_conf->bottomline_link; @@ -30,8 +30,7 @@ ?></li><?php } } - // @phpstan-ignore-next-line - if ($bottomline_labels) { + if ($bottomline_myLabels) { ?><li class="item labels"> <div class="item-element dropdown dynamictags"> <div id="dropdown-labels-<?= $this->entry->id() ?>" class="dropdown-target"></div> @@ -70,7 +69,7 @@ </li><?php } ?><li class="item share"><?php - if ($bottomline_sharing) { + if ($bottomline_sharing) { ?><div class="item-element dropdown"> <div id="dropdown-share-<?= $this->entry->id() ?>" class="dropdown-target"></div> <a class="dropdown-toggle" href="#dropdown-share-<?= $this->entry->id() ?>"> |
