Project

General

Profile

Rename "Files" to Attachments in Wiki, Forum and Issues » 25-3_r33.patch

Mischa The Evil, 2009-12-29 23:35

View differences:

/app/views/projects/list_files.rhtml (revision 33)
<div class="contextual">
<%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
<%= link_to_if_authorized l(:label_file_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
</div>
<h2><%=l(:label_attachment_plural)%></h2>
<h2><%=l(:label_file_plural)%></h2>
<% delete_allowed = authorize_for('versions', 'destroy_file') %>
......
</tbody>
</table>
<% html_title(l(:label_attachment_plural)) -%>
<% html_title(l(:label_file_plural)) -%>
(4-4/6)