changeset 825:48af1a50d2c8 cannam

Merge
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 31 Jan 2012 12:48:30 +0000
parents 73057b65abcb (current diff) c62a0b66bd38 (diff)
children cb27dd527bd3
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/my/page.rhtml	Fri Dec 16 15:17:27 2011 +0000
+++ b/app/views/my/page.rhtml	Tue Jan 31 12:48:30 2012 +0000
@@ -1,5 +1,6 @@
 <div class="contextual">
     <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
+    <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
 </div>
 
 <h2><%=l(:label_my_page)%></h2>