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

17 lines
509 B
Plaintext
Raw Normal View History

2011-12-08 21:17:53 +01:00
%aside
%h4
Your Projects
2012-01-27 18:58:10 +01:00
- if current_user.can_create_project?
= link_to new_project_path, :class => "btn small" do
New Project
2011-12-08 21:17:53 +01:00
%ol.project-list
- @projects.each do |project|
%li
%a{:href => project_path(project)}
2012-01-15 21:36:32 +01:00
-#%span.arrow →
2011-12-08 21:17:53 +01:00
%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