Add welcome text to the project list

This commit is contained in:
Eric Davis 2011-03-05 19:32:57 -08:00
parent 6d522a9acd
commit 84ef979c47
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
<% end %>
<div class="contextual">
<div id="project-links"class="contextual">
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
<%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
<%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
@ -11,6 +11,8 @@
<h2><%=l(:label_project_plural)%></h2>
<%= textilizable Setting.welcome_text %>
<%= render_project_hierarchy(@projects)%>
<% if User.current.logged? %>