aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2011-11-19 19:15:15 +0100
committerAlex Legler <a3li@gentoo.org>2011-11-19 19:15:15 +0100
commit60864f9e572db9cfc768b43bee88fb85b439c16f (patch)
tree9359a0eebc406b59346671cccd715753da0c6187
parentAdd new approval and rejection icons (diff)
downloadglsamaker-60864f9e572db9cfc768b43bee88fb85b439c16f.tar.gz
glsamaker-60864f9e572db9cfc768b43bee88fb85b439c16f.tar.bz2
glsamaker-60864f9e572db9cfc768b43bee88fb85b439c16f.zip
Use new approval/rejection icons
-rw-r--r--app/helpers/glsa_helper.rb4
-rw-r--r--app/views/glsa/prepare_release.html.erb2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/glsa_helper.rb b/app/helpers/glsa_helper.rb
index 48e4ef0..176a4b6 100644
--- a/app/helpers/glsa_helper.rb
+++ b/app/helpers/glsa_helper.rb
@@ -102,9 +102,9 @@ module GlsaHelper
def is_approval_icon(status)
if status
- image_tag 'icons/approved.png', :title => 'This item is an approval'
+ image_tag 'icons/approval.png', :title => 'This item is an approval'
else
- image_tag 'icons/not-approved.png', :title => 'This item is a rejection'
+ image_tag 'icons/rejection.png', :title => 'This item is a rejection'
end
end
diff --git a/app/views/glsa/prepare_release.html.erb b/app/views/glsa/prepare_release.html.erb
index 58030c5..3a2d5dc 100644
--- a/app/views/glsa/prepare_release.html.erb
+++ b/app/views/glsa/prepare_release.html.erb
@@ -57,7 +57,7 @@
<%= check_icon((@glsa.is_approved? or @comments_override)) %>
</span>
<%= image_tag 'icons/comment.png' %> Review Status
- (<%= @glsa.approvals.length %> <%= image_tag 'icons/approved.png' %>, <%= @glsa.rejections.length %> <%= image_tag 'icons/not-approved.png' %>)
+ (<%= @glsa.approvals.length %> <%= image_tag 'icons/approval.png' %>, <%= @glsa.rejections.length %> <%= image_tag 'icons/rejection.png' %>)
</h2>
<table class="list">
<%= render :partial => "approval_row", :collection => @glsa.approvals, :as => :comment %>