29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-07-06 12:03:39 +00:00

[4.0] Icons in modals (#25650)

As the markup in a modal table is a little different to the markup in a regular table the publish icon (etc) was being displayed without a circle.
This commit is contained in:
Brian Teeman 2019-07-23 18:38:31 +01:00 committed by George Wilson
parent ea827d06c8
commit fa4ce0f5ab
8 changed files with 9 additions and 9 deletions

View File

@ -96,7 +96,7 @@ HTMLHelper::_('script', 'com_associations/admin-associations-modal.min.js', ['ve
?>
<tr class="row<?php echo $i % 2; ?>">
<?php if (!empty($this->typeSupports['state'])) : ?>
<td class="center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->state)]; ?>" aria-hidden="true"></span>
</td>
<?php endif; ?>

View File

@ -98,7 +98,7 @@ $listDirn = $this->escape($this->state->get('list.direction'));
}
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->published)]; ?>" aria-hidden="true"></span>
</td>
<th scope="row">

View File

@ -111,7 +111,7 @@ if (!empty($editor))
}
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->published)]; ?>" aria-hidden="true"></span>
</td>
<th scope="row">

View File

@ -109,7 +109,7 @@ if (!empty($editor))
}
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->state)]; ?>" aria-hidden="true"></span>
</td>
<th scope="row">

View File

@ -78,7 +78,7 @@ $editor = Factory::getApplication()->input->get('editor', '', 'cmd');
foreach ($this->items as $i => $item) :
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->state)]; ?>" aria-hidden="true"></span>
</td>
<th scope="row" class="has-context">

View File

@ -87,7 +87,7 @@ if (!empty($editor))
foreach ($this->items as $i => $item) :
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->published)]; ?>" aria-hidden="true"></span>
</td>
<td scope="row" class="has-context">

View File

@ -92,7 +92,7 @@ $listDirn = $this->escape($this->state->get('list.direction'));
}
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->published)]; ?>" aria-hidden="true"></span>
</td>
<th scope="row">

View File

@ -81,10 +81,10 @@ $onClick = "window.parent.jSelectUser(this);window.parent.Joomla.Modal.g
<td>
<?php echo $this->escape($item->username); ?>
</td>
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $enabledStates[(int) $this->escape($item->block)]; ?>"></span>
</td>
<td class="text-center">
<td class="text-center tbody-icon">
<span class="<?php echo $activatedStates[(empty($item->activation) ? 0 : 1)]; ?>"></span>
</td>
<td>