summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-17 15:44:28 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-17 15:44:28 +0100
commit35623dc2baffd6ce1900f1b72ceb131dcb9644c7 (patch)
treed248ac2d722e85322cf29f3ff9de873b3d984c4c
parent751ae8b62adc02cc31ecc35ac0fd29339816fba6 (diff)
fix firstrun ajax cron message4.1.0
-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"