gitlabhq/app/views/dashboard/_sidebar.html.haml

16 lines
501 B
Plaintext
Raw Normal View History

2011-12-08 21:17:53 +01:00
%aside
%h4
- if current_user.can_create_project?
%a.button-small.button-green{:href => new_project_path} New Project
Your Projects
%ol.project-list
- @projects.each do |project|
%li
2011-12-30 07:54:42 +01:00
%a{:href => project_path(project)}
2011-12-08 21:17:53 +01:00
%span.arrow →
%span.project-name= project.name
%span.time
%strong Last activity:
= project.last_activity_date_cached ? time_ago_in_words(project.last_activity_date_cached) + " ago" : "Never"
2011-12-08 21:17:53 +01:00