new layout for project overview

pull/6827/head
Christian Ratz 11 years ago
parent d21cbfc78f
commit 311bb2907d
  1. 2
      app/views/my_projects_overviews/blocks/_members.html.erb
  2. 5
      app/views/my_projects_overviews/blocks/_news_latest.html.erb
  3. 6
      app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb
  4. 8
      app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb
  5. 8
      app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb
  6. 8
      app/views/my_projects_overviews/blocks/_work_packages_watched.html.erb

@ -33,7 +33,7 @@ See doc/COPYRIGHT.md for more details.
<%= link_to(l(:'project_page.all'), { :controller => 'my_projects_overviews',
:action => 'show_all_members',
:id => project.id },
:class => "all" ) %>
:class => "all button" ) %>
<% end %>
</p>
</div>

@ -25,9 +25,10 @@ See doc/COPYRIGHT.md for more details.
<%= render :partial => 'news/news', :collection => recent_news %>
<p>
<%= link_to l(:label_news_view_all),
:controller => 'news',
{:controller => 'news',
:action => 'index',
:project_id => project %>
:project_id => project},
:class => 'button' %>
</p>
</div>
<% end %>

@ -33,12 +33,12 @@ See doc/COPYRIGHT.md for more details.
<% end %>
</ul>
<p>
<%= link_to l(:label_work_package_view_all), :controller => '/work_packages', :action => 'index', :project_id => project, :set_filter => 1 %>
<%= link_to l(:label_work_package_view_all), {:controller => '/work_packages', :action => 'index', :project_id => project, :set_filter => 1}, :class => 'button' %>
<% if User.current.allowed_to?(:view_calendar, project, :global => true) %>
| <%= link_to(l(:label_calendar), :controller => '/calendars', :action => 'show', :project_id => project) %>
<%= link_to(l(:label_calendar), {:controller => '/work_packages/calendars', :action => 'index', :project_id => project}, :class => 'button') %>
<% end %>
<% if User.current.allowed_to?(:view_gantt, project, :global => true) %>
| <%= link_to(l(:label_gantt), :controller => '/gantts', :action => 'show', :project_id => project) %>
<%= link_to(l(:label_gantt), {:controller => '/gantts', :action => 'show', :project_id => project}, :class => 'button') %>
<% end %>
</p>
</div>

@ -27,11 +27,15 @@ See doc/COPYRIGHT.md for more details.
:order => "#{IssuePriority.table_name}.position DESC, #{WorkPackage.table_name}.updated_at DESC") %>
<%= render :partial => 'work_packages/list_simple', :locals => { :work_packages => assigned_work_packages } %>
<% if assigned_work_packages.length > 0 %>
<p class="small"><%= link_to l(:label_work_packages_view_all_assigned_to_me), :controller => '/work_packages',
<p class="small">
<%= link_to l(:label_assigned_to_me_work_packages),
{:controller => '/work_packages',
:action => 'index',
:set_filter => 1,
:assigned_to_id => 'me',
:sort => 'priority:desc,updated_at:desc' %></p>
:sort => 'priority:desc,updated_at:desc'},
:class => 'button' %>
</p>
<% end %>
<% content_for :header_tags do %>

@ -27,12 +27,16 @@ See doc/COPYRIGHT.md for more details.
:order => "#{WorkPackage.table_name}.updated_at DESC") %>
<%= render :partial => 'work_packages/list_simple', :locals => { :work_packages => reported_work_packages } %>
<% if reported_work_packages.length > 0 %>
<p class="small"><%= link_to l(:label_work_package_view_all_reported_by_me), :controller => '/work_packages',
<p class="small">
<%= link_to l(:label_work_package_view_all_reported_by_me),
{:controller => '/work_packages',
:action => 'index',
:set_filter => 1,
:status_id => '*',
:author_id => 'me',
:sort => 'updated_at:desc' %></p>
:sort => 'updated_at:desc'},
:class => 'button' %>
</p>
<% end %>
<% content_for :header_tags do %>

@ -23,9 +23,13 @@ See doc/COPYRIGHT.md for more details.
<%= render :partial => 'work_packages/list_simple', :locals => { :work_packages => watched_work_packages } %>
<% if watched_work_packages.length > 0 %>
<p class="small"><%= link_to l(:label_work_package_view_all_watched), :controller => '/work_packages',
<p class="small">
<%= link_to l(:label_work_package_view_all_watched),
{:controller => '/work_packages',
:action => 'index',
:set_filter => 1,
:watcher_id => 'me',
:sort => 'updated_on:desc' %></p>
:sort => 'updated_on:desc'},
:class => 'button' %>
</p>
<% end %>

Loading…
Cancel
Save