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)
1 1
<div class="contextual">
2
<%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
2
<%= link_to_if_authorized l(:label_file_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
3 3
</div>
4 4

  
5
<h2><%=l(:label_attachment_plural)%></h2>
5
<h2><%=l(:label_file_plural)%></h2>
6 6

  
7 7
<% delete_allowed = authorize_for('versions', 'destroy_file') %>
8 8

  
......
41 41
  </tbody>
42 42
</table>
43 43

  
44
<% html_title(l(:label_attachment_plural)) -%>
44
<% html_title(l(:label_file_plural)) -%>
(4-4/6)