mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Added icon
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2067b1138a
commit
bc908b854d
|
@ -38,10 +38,14 @@ class ActionlogPresenter extends Presenter
|
||||||
|
|
||||||
public function icon()
|
public function icon()
|
||||||
{
|
{
|
||||||
|
|
||||||
// User related icons
|
// User related icons
|
||||||
if ($this->itemType() == 'user') {
|
if ($this->itemType() == 'user') {
|
||||||
|
|
||||||
|
if ($this->actionType()=='2fa reset') {
|
||||||
|
return 'fa-solid fa-mobile-screen';
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->actionType()=='create new') {
|
if ($this->actionType()=='create new') {
|
||||||
return 'fa-solid fa-user-plus';
|
return 'fa-solid fa-user-plus';
|
||||||
}
|
}
|
||||||
|
@ -61,6 +65,7 @@ class ActionlogPresenter extends Presenter
|
||||||
if ($this->actionType()=='update') {
|
if ($this->actionType()=='update') {
|
||||||
return 'fa-solid fa-user-pen';
|
return 'fa-solid fa-user-pen';
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'fa-solid fa-user';
|
return 'fa-solid fa-user';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue