Updated job view for operator

This commit is contained in:
2024-08-27 12:28:46 +02:00
parent f4068c10bd
commit 7b7ba97032
6 changed files with 102 additions and 78 deletions

View File

@@ -17,4 +17,12 @@ module ApplicationHelper
else "x-mark"
end
end
def operator?
controller.class.name.split("::").first=="Operator"
end
def admin?
controller.class.name.split("::").first=="Admin"
end
end