Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
fix firstrun ajax cron message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Nov 17, 2014
1 parent 751ae8b commit 35623dc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
28 changes: 15 additions & 13 deletions templates/part.content.firstrun.php
Original file line number Diff line number Diff line change
@@ -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>
<?php }; ?>
2 changes: 1 addition & 1 deletion templates/part.content.php
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 35623dc

Please sign in to comment.