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:
parent
ea827d06c8
commit
fa4ce0f5ab
|
@ -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; ?>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user