Added "All staff" as title when doing user filter
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
text = "All '#{params[:badge]}' users"
|
text = "All '#{params[:badge]}' users"
|
||||||
elsif params[:role] && params[:badge]
|
elsif params[:role] && params[:badge]
|
||||||
text = "All '#{params[:role]}' and '#{params[:badge]}' users"
|
text = "All '#{params[:role]}' and '#{params[:badge]}' users"
|
||||||
|
elsif params.include?(:staff)
|
||||||
|
text = "All staff"
|
||||||
else
|
else
|
||||||
text = "All users"
|
text = "All users"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user