# HG changeset patch # User Chris Cannam # Date 1328014074 0 # Node ID c62a0b66bd3874319f5a7af890fc1848a89eb5fc # Parent 73057b65abcbcd34ef93aa723c93a90b9e46c514 Add New Project link to My page, fixing #361 diff -r 73057b65abcb -r c62a0b66bd38 app/views/my/page.rhtml --- a/app/views/my/page.rhtml Fri Dec 16 15:17:27 2011 +0000 +++ b/app/views/my/page.rhtml Tue Jan 31 12:47:54 2012 +0000 @@ -1,5 +1,6 @@
<%= 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) %>

<%=l(:label_my_page)%>