Change icon for Approval registration policy from dungeon door to stamp #102

Merged
heluecht merged 2 commits from MrPetovan/friendica-directory:enhancement/99-unstable-version-icon into stable 2024-03-07 15:35:43 +01:00
2 changed files with 3 additions and 3 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>';
}
@ -56,7 +56,7 @@ $base_url_display = substr($base_url, strpos($base_url, '/') + 2);
</span>
<?php if ($server['reg_policy'] == 'REGISTER_APPROVE'):?>
<span class="badge badge-primary" title="<?php echo $this->__('Registration Policy')?>">
<i class="fa fa-dungeon"></i> <?php echo $this->__('By Approval')?>
<i class="fa fa-stamp"></i> <?php echo $this->__('By Approval')?>
</span>
<?php else:?>
<span class="badge badge-success" title="<?php echo $this->__('Registration Policy')?>">