summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/part.content.firstrun.php28
-rw-r--r--templates/part.content.php2
2 files changed, 16 insertions, 14 deletions
diff --git a/templates/part.content.firstrun.php b/templates/part.content.firstrun.php
index a089ba729..0ed8a9f1e 100644
--- a/templates/part.content.firstrun.php
+++ b/templates/part.content.firstrun.php
@@ -1,15 +1,17 @@
-<div id="first-run">
- <div>
- <div class="helper"><h1><?php p($l->t('Add a feed')) ?></h1></div>
- <div class="title">
- <h1>
- <?php
- p($l->t('There are no feeds yet. Go ahead and add some'))
- ?> :)
- </h1>
- </div>
- <div class="helper">
- <h1><?php p($l->t('Import feeds and articles')) ?></h1>
+<?php if ($_['cronWarning'] !== 'ajaxCron') { ?>
+ <div id="first-run">
+ <div>
+ <div class="helper"><h1><?php p($l->t('Add a feed')) ?></h1></div>
+ <div class="title">
+ <h1>
+ <?php
+ p($l->t('There are no feeds yet. Go ahead and add some'))
+ ?> :)
+ </h1>
+ </div>
+ <div class="helper">
+ <h1><?php p($l->t('Import feeds and articles')) ?></h1>
+ </div>
</div>
</div>
-</div> \ No newline at end of file
+<?php }; ?> \ No newline at end of file
diff --git a/templates/part.content.php b/templates/part.content.php
index c0e27f448..661f11198 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -1,5 +1,5 @@
-<?php print_unescaped($this->inc('part.content.firstrun')) ?>
<?php print_unescaped($this->inc('part.content.cronwarning')) ?>
+<?php print_unescaped($this->inc('part.content.firstrun')) ?>
<div news-auto-focus="#app-content"
id="articles"