aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/configure/display.phtml9
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml7
2 files changed, 10 insertions, 6 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index 1e8e82bdb..131583408 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -188,8 +188,9 @@
<th> </th>
<th title="<?= _t('conf.shortcut.mark_read') ?>"><?= _i('read') ?></th>
<th title="<?= _t('conf.shortcut.mark_favorite') ?>"><?= _i('starred') ?></th>
- <th><?= _t('conf.display.icon.related_tags') ?></th>
- <th><?= _t('conf.display.icon.sharing') ?></th>
+ <th title="<?= _t('index.menu.tags') ?>"><?= _i('label') ?></th>
+ <th title="<?= _t('conf.display.icon.related_tags') ?>"><?= _i('tag') ?></th>
+ <th title="<?= _t('conf.display.icon.sharing') ?>"><?= _i('share') ?></th>
<th><?= _t('conf.display.icon.summary') ?></th>
<th><?= _t('conf.display.icon.display_authors') ?></th>
<th><?= _t('conf.display.icon.publication_date') ?></th>
@@ -207,6 +208,7 @@
data-leave-validation="<?= FreshRSS_Context::$user_conf->topline_favorite ?>" /></td>
<td><input type="checkbox" disabled="disabled" /></td>
<td><input type="checkbox" disabled="disabled" /></td>
+ <td><input type="checkbox" disabled="disabled" /></td>
<td><input type="checkbox" name="topline_summary" value="1"<?=
FreshRSS_Context::$user_conf->topline_summary ? 'checked="checked"' : '' ?>
data-leave-validation="<?= FreshRSS_Context::$user_conf->topline_summary ?>" /></td>
@@ -226,6 +228,9 @@
<td><input type="checkbox" name="bottomline_favorite" value="1"<?=
FreshRSS_Context::$user_conf->bottomline_favorite ? ' checked="checked"' : '' ?>
data-leave-validation="<?= FreshRSS_Context::$user_conf->bottomline_favorite ?>" /></td>
+ <td><input type="checkbox" name="bottomline_myLabels" value="1"<?=
+ FreshRSS_Context::$user_conf->bottomline_myLabels ? ' checked="checked"' : '' ?>
+ data-leave-validation="<?= FreshRSS_Context::$user_conf->bottomline_myLabels ?>" /></td>
<td><input type="checkbox" name="bottomline_tags" value="1"<?=
FreshRSS_Context::$user_conf->bottomline_tags ? ' checked="checked"' : '' ?>
data-leave-validation="<?= FreshRSS_Context::$user_conf->bottomline_tags ?>" /></td>
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() ?>">