Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Fix issue #166: Badges' style in Privacy Status block at Dashboard is… #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions administrator/modules/mod_privacy_status/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
<tr>
<td>
<?php if ($privacyPolicyInfo['published'] && $privacyPolicyInfo['articlePublished']) : ?>
<small class="text-success">
<span class="icon-checkbox" aria-hidden="true"></span>
<small class="badge badge-success">
<span class="icon-check" aria-hidden="true"></span>
<?php echo Text::_('JPUBLISHED'); ?>
</small>
<?php elseif ($privacyPolicyInfo['published'] && !$privacyPolicyInfo['articlePublished']) : ?>
<small class="text-warning">
<small class="badge badge-warning">
<span class="icon-warning" aria-hidden="true"></span>
<?php echo Text::_('JUNPUBLISHED'); ?>
</small>
<?php else : ?>
<small class="text-warning">
<small class="badge badge-warning">
<span class="icon-warning" aria-hidden="true"></span>
<?php echo Text::_('COM_PRIVACY_STATUS_CHECK_NOT_AVAILABLE'); ?>
</small>
Expand All @@ -52,17 +52,17 @@
<tr>
<td>
<?php if ($requestFormPublished['published'] && $requestFormPublished['exists']) : ?>
<small class="text-success">
<span class="icon-checkbox" aria-hidden="true"></span>
<small class="badge badge-success">
<span class="icon-check" aria-hidden="true"></span>
<?php echo Text::_('JPUBLISHED'); ?>
</small>
<?php elseif (!$requestFormPublished['published'] && $requestFormPublished['exists']) : ?>
<small class="text-warning">
<small class="badge badge-warning">
<span class="icon-warning" aria-hidden="true"></span>
<?php echo Text::_('JUNPUBLISHED'); ?>
</small>
<?php else : ?>
<small class="text-warning">
<small class="badge badge-warning">
<span class="icon-warning" aria-hidden="true"></span>
<?php echo Text::_('COM_PRIVACY_STATUS_CHECK_NOT_AVAILABLE'); ?>
</small>
Expand All @@ -78,12 +78,12 @@
<tr>
<td>
<?php if ($numberOfUrgentRequests === 0) : ?>
<small class="text-success">
<span class="icon-checkbox" aria-hidden="true"></span>
<small class="badge badge-success">
<span class="icon-check" aria-hidden="true"></span>
<?php echo Text::_('JNONE'); ?>
</small>
<?php else : ?>
<small class="text-danger">
<small class="badge badge-danger">
<span class="icon-warning" aria-hidden="true"></span>
<?php echo Text::_('WARNING'); ?>
</small>
Expand All @@ -100,12 +100,12 @@
<tr>
<td>
<?php if ($sendMailEnabled) : ?>
<small class="text-success">
<span class="icon-checkbox" aria-hidden="true"></span>
<small class="badge badge-success">
<span class="icon-check" aria-hidden="true"></span>
<?php echo Text::_('JENABLED'); ?>
</small>
<?php else : ?>
<small class="text-danger">
<small class="badge badge-danger">
<span class="icon-warning" aria-hidden="true"></span>
<?php echo Text::_('JDISABLED'); ?>
</small>
Expand All @@ -124,7 +124,7 @@
<td>
<?php if ($databaseConnectionEncryption !== '') : ?>
<span class="badge badge-success">
<span class="icon-checkbox" aria-hidden="true"></span>
<span class="icon-check" aria-hidden="true"></span>
<?php echo Text::_('JENABLED'); ?>
</span>
<?php else : ?>
Expand Down