Change icon for unstable version from poop to bug

This commit is contained in:
Hypolite Petovan 2024-03-07 09:23:51 -05:00
parent 08950be588
commit 5f79768a6b
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ use \Friendica\Directory\Utils\L10n;
<?php if ($version['version'] == $stable_version):?>
<span class="badge badge-success"><i class="fa fa-smile"></i> <?php echo $this->__('Stable Version')?></span>
<?php elseif ($version['version'] == $dev_version || $version['version'] == $rc_version):?>
<span class="badge badge-secondary"><i class="fa fa-poo"></i> <?php echo $this->__('Develop Version')?></span>
<span class="badge badge-secondary"><i class="fa fa-bug"></i> <?php echo $this->__('Develop Version')?></span>
<?php endif;?>
</li>
<?php endforeach;?>

View file

@ -14,7 +14,7 @@ if ($server['health_score'] <= 0) {
if ($server['version'] == $stable_version) {
$version_badge = '<span class="badge badge-success"><i class="fa fa-smile"></i> ' . $this->__('Stable Version') . '</span>';
} elseif ($server['version'] == $dev_version || $server['version'] == $rc_version) {
$version_badge = '<span class="badge badge-secondary"><i class="fa fa-poo"></i> ' . $this->__('Develop Version') . '</span>';
$version_badge = '<span class="badge badge-secondary"><i class="fa fa-bug"></i> ' . $this->__('Develop Version') . '</span>';
} else {
$version_badge = '<span class="badge badge-warning"><i class="fa fa-frown"></i> ' . $this->__('Outdated Version') . '</span>';
}