summaryrefslogtreecommitdiff
path: root/app/views/users/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r--app/views/users/index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 05e9249..74f65e5 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -12,6 +12,8 @@
text = "All '#{params[:badge]}' users"
elsif params[:role] && params[:badge]
text = "All '#{params[:role]}' and '#{params[:badge]}' users"
+ elsif params.include?(:staff)
+ text = "All staff"
else
text = "All users"
end