mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +05:30
Cleaning Up
This commit is contained in:
parent
3aed148d5c
commit
0d139d9401
6 changed files with 41 additions and 38 deletions
|
|
@ -19,11 +19,11 @@ if ($updater->able()) {
|
|||
echo '<p><strong>Important:</strong> Please always backup your files before upgrading to newer version.</p>';
|
||||
echo '<p><a href="' . site_url() . 'admin/update/now/' . $CSRF . '" alt="' . $info['name'] . '">Update to ' . $info['tag_name'] . ' now</a></p>';
|
||||
} else {
|
||||
echo '<h2>Congrats! You are Up to Date</h2>';
|
||||
echo '<h2>Congrats! You have the latest version of HTMLy</h2>';
|
||||
$info = $updater->getCurrentInfo();
|
||||
echo '<p>Release Title: '. $info['name'] .'</p>';
|
||||
echo '<p>Version: '. $info['tag_name'] .'</p>';
|
||||
echo '<p>Installed Version: '. $info['tag_name'] .'</p>';
|
||||
echo '<p>Release Notes: </p>';
|
||||
echo '<pre><code>'. $info['body'] .'</code></pre>';
|
||||
echo '<p>Read on <a target="_blank" href="' . $info['html_url'] . '">Github</a></p>';
|
||||
echo '<p>Read on <a target="_blank" href="' . $info['html_url'] . '">Github</a>.</p>';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue