Project

General

Profile

Feature #1007 » index.rhtml.patch

Adds the New Project link on the main projects page for authenticated users - Steve Cundy, 2009-05-15 05:56

View differences:

index.rhtml 2009-05-14 11:45:31.000000000 -0700
<div class="contextual">
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.admin? %>
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.logged? %>
<%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> |
<%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
</div>
(1-1/2)