summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-17 20:46:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-17 20:46:22 +0000
commitf741ca726978cfc352a0387f4694d7e29fb72803 (patch)
tree8e0bee09680a21deb14f04eac25ff43ed1626931 /app/views/admin
parent388805ad58381a95bec3da8204c0784f0483c1a0 (diff)
downloadredmine-f741ca726978cfc352a0387f4694d7e29fb72803.tar.gz
redmine-f741ca726978cfc352a0387f4694d7e29fb72803.zip
Adds an helper for displaying the 'checked' image.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3600 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index f267c136e..62db29a32 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -29,7 +29,7 @@
<tr class="<%= cycle("odd", "even") %> <%= css_project_classes(project) %>">
<td class="name" style="padding-left: <%= level %>em;"><%= project.active? ? link_to(h(project.name), :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %></td>
<td><%= textilizable project.short_description, :project => project %></td>
- <td align="center"><%= image_tag 'true.png' if project.is_public? %></td>
+ <td align="center"><%= checked_image project.is_public? %></td>
<td align="center"><%= format_date(project.created_on) %></td>
<td class="buttons">
<%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %>