aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/glsa_helper.rb')
-rw-r--r--app/helpers/glsa_helper.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/helpers/glsa_helper.rb b/app/helpers/glsa_helper.rb
index b948160..250b40f 100644
--- a/app/helpers/glsa_helper.rb
+++ b/app/helpers/glsa_helper.rb
@@ -119,6 +119,13 @@ module GlsaHelper
image_tag "icons/not-approved.png", :title => "Please comment and/or approve."
end
end
-
+
+ def restricted_icon(status)
+ if status
+ image_tag "icons/confidential.png", :title => "This item is CONFIDENTIAL."
+ else
+ image_tag "icons/public.png", :title => "This item is public."
+ end
+ end
end