Fix JS error: new-article missed (#3999)

This commit is contained in:
maTh authored and GitHub committed 2021-11-30 22:20:43 +01:00
1 parent 42162c04a0
commit c5d444e8df
2 files changed
+6

No files matched your search

+3
View File
@@ -115,6 +115,9 @@ $today = @strtotime('today');
ob_end_clean(); //Discard the articles headers, as we have no articles
?>
<main id="stream" class="normal">
<div id="new-article">
<a href="<?= Minz_Url::display(Minz_Request::currentRequest()) ?>"><?= _t('gen.js.new_article'); /* TODO: move string in JS*/ ?></a>
</div>
<div class="prompt alert alert-warn">
<h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
<p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>
+3
View File
@@ -83,6 +83,9 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
ob_end_clean(); //Discard the articles headers, as we have no articles
?>
<main id="stream" class="reader">
<div id="new-article">
<a href="<?= Minz_Url::display(Minz_Request::currentRequest()) ?>"><?= _t('gen.js.new_article'); /* TODO: move string in JS*/ ?></a>
</div>
<div class="prompt alert alert-warn">
<h2 class="alert-head"><?= _t('index.feed.empty') ?></h2>
<p><a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a></p>