Commit 809d7fe2 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5347 Using a separate icon for templates in objects list

parent bbb821ed
......@@ -374,6 +374,9 @@ class IconTheme
array('applications','os-windows'),
array('applications','windows'),
),
'devices/template' => array(
array('actions','document-new'),
),
'status/object-locked' => array(
array('status','changes-prevent'),
),
......
......@@ -278,7 +278,7 @@ class simpleManagement
$this->headpage->xmlData['actionmenu']['action'][0]['action'] = array(
array(
'type' => 'sub',
'image' => 'geticon.php?context=actions&icon=document-new&size=16',
'image' => 'geticon.php?context=devices&icon=template&size=16',
'label' => _('Template'),
'action' => array(),
),
......@@ -316,7 +316,7 @@ class simpleManagement
'label' => sprintf(_('%s template'), $i['name']),
'category' => $i['aclCategory'],
'class' => 'template',
'image' => $i['icon'],
'image' => 'geticon.php?context=devices&icon=template&size=16',
'filter' =>
new ldapFilter(
'&',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment