global "Run now" scheduler button on new Settings page (v1.3)
This commit is contained in:
14
Template/config/show.php
Normal file
14
Template/config/show.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('RecoReco') ?></h2>
|
||||
</div>
|
||||
|
||||
<p class="form-help">
|
||||
<?= t('Run the recurring-card scheduler now. This spawns every template card whose occurrence is due, on all boards -- the same pass the cron job runs. It is safe to run at any time: an occurrence is never spawned twice.') ?>
|
||||
</p>
|
||||
|
||||
<form method="post" action="<?= $this->url->href('ConfigController', 'run', array('plugin' => 'RecoReco')) ?>">
|
||||
<?= $this->form->csrf() ?>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-blue"><?= t('Run now') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
3
Template/config/sidebar.php
Normal file
3
Template/config/sidebar.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<li <?= $this->app->checkMenuSelection('ConfigController', 'show', 'RecoReco') ?>>
|
||||
<?= $this->url->link(t('RecoReco'), 'ConfigController', 'show', array('plugin' => 'RecoReco')) ?>
|
||||
</li>
|
||||
Reference in New Issue
Block a user