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
1 1
<div class="contextual">
2
    <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.admin? %>
2
    <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.logged? %>
3 3
    <%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> |
4 4
    <%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
5 5
</div>
(1-1/2)