full content: swap "open original" with "view" link, link item url to heading
This commit is contained in:
parent
e54c5eaa0c
commit
d5b06afbc9
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
'Unable to detect the feed format.' => 'Nelze detekovat formát odběru.',
|
||||
'add a new group' => 'přidat novou skupinu',
|
||||
'Groups' => 'Skupiny',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
'Unable to detect the feed format.' => 'Impossible de détecter le format du flux.',
|
||||
'add a new group' => 'ajouter un nouveau libellé',
|
||||
'Groups' => 'Libellés',
|
||||
'view' => 'view',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -240,4 +240,5 @@ return array(
|
||||
// 'Unable to detect the feed format.' => '',
|
||||
// 'add a new group' => '',
|
||||
// 'Groups' => '',
|
||||
// 'view' => '',
|
||||
);
|
||||
|
@ -10,10 +10,17 @@
|
||||
<span class="bookmark-icon"></span>
|
||||
<span class="read-icon"></span>
|
||||
<?= Helper\favicon($favicons, $item['feed_id']) ?>
|
||||
<a
|
||||
href="?action=show&menu=<?= $menu ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>&id=<?= $item['id'] ?>"
|
||||
class="show"
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
<?php if ($display_mode === 'full'): ?>
|
||||
<a class="original" rel="noreferrer" target="_blank"
|
||||
href="<?= $item['url'] ?>"
|
||||
<?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
<?php else: ?>
|
||||
<a
|
||||
href="?action=show&menu=<?= $menu ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>&id=<?= $item['id'] ?>"
|
||||
class="show"
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
<?php endif ?>
|
||||
</h2>
|
||||
<?php if ($display_mode === 'full'): ?>
|
||||
<div class="preview-full-content" <?= Helper\is_rtl($item) ? 'dir="rtl"' : 'dir="ltr"' ?>>
|
||||
@ -35,9 +42,18 @@
|
||||
<li class="hide-mobile">
|
||||
<span title="<?= dt('%e %B %Y %k:%M', $item['updated']) ?>"><?= Helper\relative_time($item['updated']) ?></span>
|
||||
</li>
|
||||
<li class="hide-mobile">
|
||||
<a href="<?= $item['url'] ?>" class="original" rel="noreferrer" target="_blank" <?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>><?= t('original link') ?></a>
|
||||
</li>
|
||||
<?php if ($display_mode === 'full'): ?>
|
||||
<li>
|
||||
<a
|
||||
href="?action=show&menu=<?= $menu ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>&id=<?= $item['id'] ?>"
|
||||
class="show"
|
||||
><?= t('view') ?></a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li class="hide-mobile">
|
||||
<a href="<?= $item['url'] ?>" class="original" rel="noreferrer" target="_blank" <?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>><?= t('original link') ?></a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<?php if ($item['enclosure']): ?>
|
||||
<li>
|
||||
<?php if (strpos($item['enclosure_type'], 'video/') === 0): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user