summaryrefslogtreecommitdiffstats
path: root/app/views/projects/list.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 13:17:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 13:17:49 +0000
commit827e998afef3a3b6eded98c9b3af1023e54fccb5 (patch)
treeec61e0b48f850b620454f95904781aeb1b0c4845 /app/views/projects/list.rhtml
parent43f583d33243b825ef493d2bebb200660835af48 (diff)
downloadredmine-827e998afef3a3b6eded98c9b3af1023e54fccb5.tar.gz
redmine-827e998afef3a3b6eded98c9b3af1023e54fccb5.zip
Application layout refactored.
The project menu is now the main menu. git-svn-id: http://redmine.rubyforge.org/svn/trunk@747 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/list.rhtml')
-rw-r--r--app/views/projects/list.rhtml11
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/projects/list.rhtml b/app/views/projects/list.rhtml
index 4474eef9f..51c1b544a 100644
--- a/app/views/projects/list.rhtml
+++ b/app/views/projects/list.rhtml
@@ -1,18 +1,15 @@
<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) %>
+<h3><%= link_to project.name, {:action => 'show', :id => project}, :class => (User.current.member_of?(project) ? "icon icon-fav" : "") %></h3>
+<%= textilizable(project.description, :project => project) %>
<% if @project_tree[project].any? %>
- <%= l(:label_subproject_plural) %>:
+ <p><%= 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(', ') %>
+ link_to(subproject.name, {:action => 'show', :id => subproject}, :class => (User.current.member_of?(subproject) ? "icon icon-fav" : ""))}.join(', ') %></p>
<% end %>
-</dd></dt>
<% end %>
-</dl>
<% if User.current.logged? %>
<div class="contextual">