Change icon for unstable version from poop to bug
This commit is contained in:
parent
08950be588
commit
5f79768a6b
|
@ -65,7 +65,7 @@ use \Friendica\Directory\Utils\L10n;
|
||||||
<?php if ($version['version'] == $stable_version):?>
|
<?php if ($version['version'] == $stable_version):?>
|
||||||
<span class="badge badge-success"><i class="fa fa-smile"></i> <?php echo $this->__('Stable Version')?></span>
|
<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):?>
|
<?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;?>
|
<?php endif;?>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
|
|
|
@ -14,7 +14,7 @@ if ($server['health_score'] <= 0) {
|
||||||
if ($server['version'] == $stable_version) {
|
if ($server['version'] == $stable_version) {
|
||||||
$version_badge = '<span class="badge badge-success"><i class="fa fa-smile"></i> ' . $this->__('Stable Version') . '</span>';
|
$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) {
|
} 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 {
|
} else {
|
||||||
$version_badge = '<span class="badge badge-warning"><i class="fa fa-frown"></i> ' . $this->__('Outdated Version') . '</span>';
|
$version_badge = '<span class="badge badge-warning"><i class="fa fa-frown"></i> ' . $this->__('Outdated Version') . '</span>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue