summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMrYummy <elemental428@gmail.com>2017-07-02 21:21:19 -0400
committerGitHub <noreply@github.com>2017-07-02 21:21:19 -0400
commit170fba42dbceeed52a7335fedb4696fa978e9cbe (patch)
treeb97504d435cfa39c74029033e7e7c81cedd4656a
parent12fb7584bc6782b92802ac9a75fd80fe7cf1043f (diff)
Added "All staff" as title when doing user filter
-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