gitlabhq/app/views/dashboard/_sidebar.html.haml
Dmitriy Zaporozhets cd779e56e1 dashboard v1
2011-12-08 22:17:53 +02:00

16 lines
487 B
Plaintext

%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
%a{:href => project_path(project)}
%span.arrow →
%span.project-name= project.name
%span.time
%strong Last activity:
= project.last_activity_date ? time_ago_in_words(project.last_activity_date) + " ago" : "Never"