Do not generate duplicate ids and fixes tag attribute.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8561 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f1b93601b5
commit
32b91e685e
|
@ -18,7 +18,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="130px" align="right"><%= l(:field_estimated_hours) %></td>
|
<td width="130px" align="right"><%= l(:field_estimated_hours) %></td>
|
||||||
<td width="240px" class="total-hours"width="130px" align="right"><%= html_hours(l_hours(@version.estimated_hours)) %></td>
|
<td width="240px" class="total-hours" align="right"><%= html_hours(l_hours(@version.estimated_hours)) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<caption><%= l(:label_related_issues) %></caption>
|
<caption><%= l(:label_related_issues) %></caption>
|
||||||
<%- @issues.each do |issue| -%>
|
<%- @issues.each do |issue| -%>
|
||||||
<tr class="hascontextmenu">
|
<tr class="hascontextmenu">
|
||||||
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td>
|
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
|
||||||
<td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
|
<td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue