##// END OF EJS Templates
replace a tab to spaces at app/views/projects/index.html.erb...
Toshi MARUYAMA -
r7111:cc52bf19f711
parent child
Show More
@@ -1,26 +1,26
1 <% content_for :header_tags do %>
1 <% content_for :header_tags do %>
2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
2 <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
3 <% end %>
3 <% end %>
4
4
5 <div class="contextual">
5 <div class="contextual">
6 <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
6 <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
7 <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
7 <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
8 <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
8 <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
9 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
9 <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
10 </div>
10 </div>
11
11
12 <h2><%=l(:label_project_plural)%></h2>
12 <h2><%=l(:label_project_plural)%></h2>
13
13
14 <%= render_project_hierarchy(@projects)%>
14 <%= render_project_hierarchy(@projects)%>
15
15
16 <% if User.current.logged? %>
16 <% if User.current.logged? %>
17 <p style="text-align:right;">
17 <p style="text-align:right;">
18 <span class="my-project"><%= l(:label_my_projects) %></span>
18 <span class="my-project"><%= l(:label_my_projects) %></span>
19 </p>
19 </p>
20 <% end %>
20 <% end %>
21
21
22 <% other_formats_links do |f| %>
22 <% other_formats_links do |f| %>
23 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
23 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
24 <% end %>
24 <% end %>
25
25
26 <% html_title(l(:label_project_plural)) -%>
26 <% html_title(l(:label_project_plural)) -%>
General Comments 0
You need to be logged in to leave comments. Login now