mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
34 lines
1 KiB
PHTML
Executable file
34 lines
1 KiB
PHTML
Executable file
<?php $this->partial('aside_configure'); ?>
|
|
|
|
<div class="post">
|
|
<a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('gen.action.back_to_rss_feeds'); ?></a>
|
|
|
|
<h1><?php echo _t('admin.update'); ?></h1>
|
|
|
|
<p>
|
|
<?php echo _i('help'); ?> <?php echo _t('admin.update.current_version', FRESHRSS_VERSION); ?>
|
|
</p>
|
|
|
|
<p>
|
|
<?php echo _t('admin.update.last', $this->last_update_time); ?>
|
|
</p>
|
|
|
|
<?php if (!empty($this->message)) { ?>
|
|
<p class="alert <?php echo $this->message['status'] === 'bad' ? 'alert-error' : 'alert-warn'; ?>">
|
|
<span class="alert-head"><?php echo $this->message['title']; ?></span>
|
|
<?php echo $this->message['body']; ?>
|
|
</p>
|
|
<?php } ?>
|
|
|
|
<?php
|
|
if (empty($this->message) || $this->message['status'] !== 'good') {
|
|
?>
|
|
<p>
|
|
<a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('admin.update.check'); ?></a>
|
|
</p>
|
|
<?php } ?>
|
|
|
|
<?php if ($this->update_to_apply) { ?>
|
|
<a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('admin.update.apply'); ?></a>
|
|
<?php } ?>
|
|
</div>
|