Mercurial > hg > soundsoftware-site
comparison app/views/files/.svn/text-base/index.html.erb.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 40f7cfd4df19 |
children |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
1 <div class="contextual"> | 1 <div class="contextual"> |
2 <%= link_to_if_authorized l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add' %> | 2 <%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %> |
3 </div> | 3 </div> |
4 | 4 |
5 <h2><%=l(:label_attachment_plural)%></h2> | 5 <h2><%=l(:label_attachment_plural)%></h2> |
6 | 6 |
7 <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> | 7 <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> |