Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at app/views/issues/_list_simple.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12841 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
52e043d0e4
commit
70ab59354f
|
@ -17,7 +17,7 @@
|
|||
<td class="project"><%= link_to_project(issue.project) %></td>
|
||||
<td class="tracker"><%= issue.tracker %></td>
|
||||
<td class="subject">
|
||||
<%= link_to(truncate(issue.subject, :length => 60), issue_path(issue)) %> (<%= issue.status %>)
|
||||
<%= link_to(issue.subject.truncate(60), issue_path(issue)) %> (<%= issue.status %>)
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue