replace tabs to spaces at app/views/projects/settings/_versions.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7335 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-17 11:14:52 +00:00
parent f9fb1988f5
commit 0716dbb619
1 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<% if @project.shared_versions.any? %> <% if @project.shared_versions.any? %>
<table class="list versions"> <table class="list versions">
<thead><tr> <thead><tr>
<th><%= l(:label_version) %></th> <th><%= l(:label_version) %></th>
<th><%= l(:field_effective_date) %></th> <th><%= l(:field_effective_date) %></th>
<th><%= l(:field_description) %></th> <th><%= l(:field_description) %></th>
@ -9,7 +9,7 @@
<th><%= l(:label_wiki_page) %></th> <th><%= l(:label_wiki_page) %></th>
<th style="width:15%"></th> <th style="width:15%"></th>
</tr></thead> </tr></thead>
<tbody> <tbody>
<% for version in @project.shared_versions.sort %> <% for version in @project.shared_versions.sort %>
<tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>"> <tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>">
<td class="name"><%= link_to_version version %></td> <td class="name"><%= link_to_version version %></td>
@ -19,11 +19,11 @@
<td class="sharing"><%=h format_version_sharing(version.sharing) %></td> <td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
<td><%= link_to_if_authorized(h(version.wiki_page_title), {:controller => 'wiki', :action => 'show', :project_id => version.project, :id => Wiki.titleize(version.wiki_page_title)}) || h(version.wiki_page_title) unless version.wiki_page_title.blank? || version.project.wiki.nil? %></td> <td><%= link_to_if_authorized(h(version.wiki_page_title), {:controller => 'wiki', :action => 'show', :project_id => version.project, :id => Wiki.titleize(version.wiki_page_title)}) || h(version.wiki_page_title) unless version.wiki_page_title.blank? || version.project.wiki.nil? %></td>
<td class="buttons"> <td class="buttons">
<% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %> <% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %>
<%= link_to l(:button_edit), edit_version_path(version), :class => 'icon icon-edit' %> <%= link_to l(:button_edit), edit_version_path(version), :class => 'icon icon-edit' %>
<%= link_to l(:button_delete), version_path(version), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %> <%= link_to l(:button_delete), version_path(version), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %>
<% end %> <% end %>
</td> </td>
</tr> </tr>
<% end; reset_cycle %> <% end; reset_cycle %>
</tbody> </tbody>
@ -34,7 +34,7 @@
<div class="contextual"> <div class="contextual">
<% if @project.versions.any? %> <% if @project.versions.any? %>
<%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %> <%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %>
<% end %> <% end %>
</div> </div>