Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Oct 28, 2024
2 parents 65f4f3d + 86d784b commit 7556046
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions app/Presenters/ActionlogPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,59 +42,59 @@ public function icon()
// User related icons
if ($this->itemType() == 'user') {

if ($this->actionType()=='2fa reset') {
if ($this->action_type == '2fa reset') {
return 'fa-solid fa-mobile-screen';
}

if ($this->actionType()=='create new') {
if ($this->action_type == 'create new') {
return 'fa-solid fa-user-plus';
}

if ($this->actionType()=='merged') {
if ($this->action_type == 'merged') {
return 'fa-solid fa-people-arrows';
}

if ($this->actionType()=='delete') {
if ($this->action_type == 'delete') {
return 'fa-solid fa-user-minus';
}

if ($this->actionType()=='delete') {
if ($this->action_type == 'delete') {
return 'fa-solid fa-user-minus';
}

if ($this->actionType()=='update') {
if ($this->action_type == 'update') {
return 'fa-solid fa-user-pen';
}

return 'fa-solid fa-user';
}

// Everything else
if ($this->actionType()=='create new') {
if ($this->action_type == 'create new') {
return 'fa-solid fa-plus';
}

if ($this->actionType()=='delete') {
if ($this->action_type == 'delete') {
return 'fa-solid fa-trash';
}

if ($this->actionType()=='update') {
if ($this->action_type == 'update') {
return 'fa-solid fa-pen';
}

if ($this->actionType()=='restore') {
if ($this->action_type == 'restore') {
return 'fa-solid fa-trash-arrow-up';
}

if ($this->actionType()=='upload') {
if ($this->action_type == 'upload') {
return 'fas fa-paperclip';
}

if ($this->actionType()=='checkout') {
if ($this->action_type == 'checkout') {
return 'fa-solid fa-rotate-left';
}

if ($this->actionType()=='checkin from') {
if ($this->action_type == 'checkin from') {
return 'fa-solid fa-rotate-right';
}

Expand Down

0 comments on commit 7556046

Please sign in to comment.