Skip to content

Instantly share code, notes, and snippets.

Joro Yordanov yordanoff

Block or report user

Report or block yordanoff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View raport-version.json
"current_version": 0.2,
"upgrade_url": "",
"custom_message": "<div style='border: 1px solid blue; color: blue;padding: 10px;border-radius: 3px;text-align: center;clear: both;line-height: 1.5;'>Hello <strong>there</strong>. This is a custom message styled via JSON input.</div>"
yordanoff / raport-version.html.php
Last active Jan 7, 2018
Kirby CMS: Dashboard Widget Messages via JSON
View raport-version.html.php
<!--Print Information -->
<p>Current version: <strong><?= $localVersion ?></strong></p>
<?php if( $localVersion < $currentVersion ): ?>
<div class="upgrade">
<p>There is a newer version of Raport available<p>
<a href="<?= $upgradeURL ?>" target="_blank">
Update now to <strong>version <?= $currentVersion ?> &rarr;</strong></a>
You can’t perform that action at this time.