Replace cancel icon with the trash icon...
...where the link's purpose is to remove something
This commit is contained in:
parent
74dfa6e72a
commit
7bb78330a9
|
@ -42,7 +42,7 @@
|
||||||
'config/removeresource',
|
'config/removeresource',
|
||||||
array('resource' => $name),
|
array('resource' => $name),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove resource %s'), $name)
|
'title' => sprintf($this->translate('Remove resource %s'), $name)
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
'dashboard/remove-pane',
|
'dashboard/remove-pane',
|
||||||
array('pane' => $pane->getName()),
|
array('pane' => $pane->getName()),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove pane %s'), $pane->getName())
|
'title' => sprintf($this->translate('Remove pane %s'), $pane->getName())
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
'dashboard/remove-dashlet',
|
'dashboard/remove-dashlet',
|
||||||
array('pane' => $pane->getName(), 'dashlet' => $dashlet->getTitle()),
|
array('pane' => $pane->getName(), 'dashlet' => $dashlet->getTitle()),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove dashlet %s from pane %s'), $dashlet->getTitle(), $pane->getName())
|
'title' => sprintf($this->translate('Remove dashlet %s from pane %s'), $dashlet->getTitle(), $pane->getName())
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
'config/removeAuthenticationBackend',
|
'config/removeAuthenticationBackend',
|
||||||
array('auth_backend' => $backendNames[$i]),
|
array('auth_backend' => $backendNames[$i]),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove authentication backend %s'), $backendNames[$i])
|
'title' => sprintf($this->translate('Remove authentication backend %s'), $backendNames[$i])
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
'roles/remove',
|
'roles/remove',
|
||||||
array('role' => $name),
|
array('role' => $name),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove role %s'), $name)
|
'title' => sprintf($this->translate('Remove role %s'), $name)
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
|
|
@ -310,7 +310,7 @@ class FilterEditor extends AbstractWidget
|
||||||
$this->preservedUrl()->with('removeFilter', $filter->getId()),
|
$this->preservedUrl()->with('removeFilter', $filter->getId()),
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'icon' => 'icon-cancel',
|
'icon' => 'trash',
|
||||||
'title' => t('Remove this part of your filter')
|
'title' => t('Remove this part of your filter')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
'/monitoring/config/removebackend',
|
'/monitoring/config/removebackend',
|
||||||
array('backend' => $backendName),
|
array('backend' => $backendName),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove monitoring backend %s'), $backendName)
|
'title' => sprintf($this->translate('Remove monitoring backend %s'), $backendName)
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
'/monitoring/config/removeinstance',
|
'/monitoring/config/removeinstance',
|
||||||
array('instance' => $instanceName),
|
array('instance' => $instanceName),
|
||||||
array(
|
array(
|
||||||
'icon' => 'cancel',
|
'icon' => 'trash',
|
||||||
'title' => sprintf($this->translate('Remove monitoring instance %s'), $instanceName)
|
'title' => sprintf($this->translate('Remove monitoring instance %s'), $instanceName)
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
|
Loading…
Reference in New Issue