<ul>
<li><%= link_to l(:label_home), { :controller => 'welcome' }, :class => "icon icon-home" %></li>
<li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "icon icon-mypage" %></li>
- <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "icon icon-projects" %></li>
-
+
+ <% if loggedin? and @logged_in_user.memberships.any? %>
+ <li class="submenu"><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "icon icon-projects", :onmouseover => "buttonMouseover(event, 'menuAllProjects');" %></li>
+ <div id="menuAllProjects" class="menu" onmouseover="menuMouseover(event)">
+ <%= link_to l(:label_project_all), {:controller => 'projects' }, :class => "menuItem" %>
+ <% @logged_in_user.memberships.find(:all, :limit => 20).each do |membership| %>
+ <%= link_to membership.project.name, {:controller => 'projects',:action => 'show', :id => membership.project }, :class => "menuItem" %>
+ <% end %>
+ </div>
+ <% else %>
+ <li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "icon icon-projects" %></li>
+ <% end %>
+
<% unless @project.nil? || @project.id.nil? %>
<li class="submenu"><%= link_to @project.name, { :controller => 'projects', :action => 'show', :id => @project }, :class => "icon icon-projects", :onmouseover => "buttonMouseover(event, 'menuProject');" %></li>
<% end %>
<li><%= link_to_if_authorized l(:label_settings), :controller => 'projects', :action => 'settings', :id => @project %></li>
</ul>
<% end %>
-
- <% if loggedin? and @logged_in_user.memberships.length > 0 %>
- <h2><%=l(:label_my_projects) %></h2>
- <ul class="menublock">
- <% for membership in @logged_in_user.memberships %>
- <li><%= link_to membership.project.name, :controller => 'projects', :action => 'show', :id => membership.project %></li>
- <% end %>
- </ul>
- <% end %>
</div>
<div id="content">
label_project: Проект
label_project_new: Нов проект
label_project_plural: Проекти
+label_project_all: All Projects
label_project_latest: Последни проекти
label_issue: Задача
label_issue_new: Нова задача
label_project: Projekt
label_project_new: Neues Projekt
label_project_plural: Projekte
+label_project_all: All Projects
label_project_latest: Neueste Projekte
label_issue: Ticket
label_issue_new: Neues Ticket
label_project: Project
label_project_new: New project
label_project_plural: Projects
+label_project_all: All Projects
label_project_latest: Latest projects
label_issue: Issue
label_issue_new: New issue
label_project: Proyecto
label_project_new: Nuevo proyecto
label_project_plural: Proyectos
+label_project_all: All Projects
label_project_latest: Los proyectos más últimos
label_issue: Petición
label_issue_new: Nueva petición
label_project: Projet
label_project_new: Nouveau projet
label_project_plural: Projets
+label_project_all: Tous les projets
label_project_latest: Derniers projets
label_issue: Demande
label_issue_new: Nouvelle demande
label_project: Progetto
label_project_new: Nuovo progetto
label_project_plural: Progetti
+label_project_all: All Projects
label_project_latest: Ultimi progetti registrati
label_issue: Contesto
label_issue_new: Nuovo contesto
label_project: プロジェクト
label_project_new: 新しいプロジェクト
label_project_plural: プロジェクト
+label_project_all: All Projects
label_project_latest: 最近のプロジェクト
label_issue: 問題
label_issue_new: 新しい問題
label_project: Projeto\r
label_project_new: Novo projeto\r
label_project_plural: Projetos\r
+label_project_all: All Projects\r
label_project_latest: Ultimos projetos\r
label_issue: Tarefa\r
label_issue_new: Nova tarefa\r
label_project: Projeto
label_project_new: Novo projeto
label_project_plural: Projetos
+label_project_all: All Projects
label_project_latest: Últimos projetos
label_issue: Tarefa
label_issue_new: Nova tarefa
label_project: 项目
label_project_new: 新建项目
label_project_plural: 项目列表
+label_project_all: All Projects
label_project_latest: 最近的项目列表
label_issue: 任务
label_issue_new: 新建任务