mirror of
https://github.com/redmine/redmine.git
synced 2024-09-09 22:25:56 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
Added files turned into links (if not removed) on the issue history. git-svn-id: http://redmine.rubyforge.org/svn/trunk@729 e93f8b46-1217-0410-a6f0-8f06a7374b81
22 lines
784 B
Plaintext
22 lines
784 B
Plaintext
<h2><%=l(:label_project_plural)%></h2>
|
|
|
|
<dl class="projects">
|
|
<% @project_tree.keys.sort.each do |project| %>
|
|
<dt><%= link_to project.name, {:action => 'show', :id => project}, :class => (User.current.member_of?(project) ? "icon icon-fav" : "") %>
|
|
<dd><%= textilizable(project.description, :project => project) %>
|
|
|
|
<% if @project_tree[project].any? %>
|
|
<%= l(:label_subproject_plural) %>:
|
|
<%= @project_tree[project].sort.collect {|subproject|
|
|
link_to(subproject.name, {:action => 'show', :id => subproject}, :class => (User.current.member_of?(subproject) ? "icon icon-fav" : ""))}.join(', ') %>
|
|
<% end %>
|
|
</dd></dt>
|
|
<% end %>
|
|
</dl>
|
|
|
|
<% if User.current.logged? %>
|
|
<div class="contextual">
|
|
<span class="icon icon-fav"><%= l(:label_my_projects) %></span>
|
|
</div>
|
|
<% end %>
|