A free, self-hostable news aggregator…
improved HTML (#3989)
maTh9f7a973ca041
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtmlindex 418c44111..4c2b25fbc 100644--- a/app/views/index/normal.phtml+++ b/app/views/index/normal.phtml@@ -114,9 +114,11 @@ $today = @strtotime('today');else:ob_end_clean(); //Discard the articles headers, as we have no articles?>-<main id="stream" class="prompt alert alert-warn normal">- <h2><?= _t('index.feed.empty') ?></h2>- <a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />+<main id="stream" class="normal">+ <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>+ </div></main><?php endif; ?>diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtmlindex 69f000835..e4dac65c4 100644--- a/app/views/index/reader.phtml+++ b/app/views/index/reader.phtml@@ -82,8 +82,10 @@ $content_width = FreshRSS_Context::$user_conf->content_width;else:ob_end_clean(); //Discard the articles headers, as we have no articles?>-<main id="stream" class="prompt alert alert-warn reader">- <h2><?= _t('index.feed.empty') ?></h2>- <a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />+<main id="stream" class="reader">+ <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>+ </div></main><?php endif; ?>