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