summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-10 11:36:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-10 11:36:12 +0000
commitc6efc90041878f1dd2458d6977e8f72e020f9907 (patch)
tree2508e66a5e1216623b6ccc5c5959eafe7ed46915
parentfba02769f3e8df638824eb33fa877c073b7a6a48 (diff)
downloadredmine-c6efc90041878f1dd2458d6977e8f72e020f9907.tar.gz
redmine-c6efc90041878f1dd2458d6977e8f72e020f9907.zip
Cleaning projects administration list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2731 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/admin/projects.rhtml14
1 files changed, 3 insertions, 11 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index 1acef091f..56aef92ed 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -21,9 +21,7 @@
<th><%=l(:field_description)%></th>
<th><%=l(:field_is_public)%></th>
<th><%=l(:field_created_on)%></th>
- <th></th>
- <th></th>
- <th></th>
+ <th></th>
</tr></thead>
<tbody>
<% for project in @projects %>
@@ -32,17 +30,11 @@
<td><%= textilizable project.short_description, :project => project %></td>
<td align="center"><%= image_tag 'true.png' if project.is_public? %></td>
<td align="center"><%= format_date(project.created_on) %></td>
- <td align="center" style="width:10%">
- <small>
+ <td class="buttons">
<%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %>
<%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project }, :method => :post, :class => 'icon icon-unlock') if !project.active? && (project.parent.nil? || project.parent.active?) %>
- </small>
- </td>
- <td align="center" style="width:10%">
<%= link_to(l(:button_copy), { :controller => 'projects', :action => 'copy', :id => project }, :class => 'icon icon-copy') %>
- </td>
- <td align="center" style="width:10%">
- <small><%= link_to(l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => 'icon icon-del') %></small>
+ <%= link_to(l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => 'icon icon-del') %>
</td>
</tr>
<% end %>