gitlabhq/app/views/projects/info.html.haml

60 lines
928 B
Plaintext
Raw Normal View History

2011-12-30 07:54:42 +01:00
= render "project_head"
2012-01-28 15:47:55 +01:00
%h3= @project.name
%br
2011-12-30 07:54:42 +01:00
2012-01-28 15:47:55 +01:00
%pre
= "git clone #{@project.url_to_repo}"
2011-12-30 07:54:42 +01:00
2012-01-28 15:47:55 +01:00
%table
2011-12-30 07:54:42 +01:00
%tr
%td Name
%td= @project.name
%tr
%td Slug
%td= @project.code
2012-01-28 15:47:55 +01:00
%tr
%td Path
%td= @project.path
%tr
%td Owner
%td= link_to @project.owner.name, project_team_member_path(@project, @project.team_member_by_id(@project.owner))
%tr
%td Last commit
%td
= time_ago_in_words(@project.commit.committed_date)
ago
%tr
%td Team
%td
= @project.users_projects.count
users
%tr
%td Open Issues
%td
= @project.issues.opened.count
%tr
%td Merge Requests
%td
= @project.merge_requests.opened.count
2011-12-30 07:54:42 +01:00
%tr
%td Created
%td= @project.created_at.stamp("Aug 21, 2011")
%tr
%td{:colspan => 2}= simple_format @project.description
2012-01-28 15:47:55 +01:00
.actions
= link_to "Edit", edit_project_path(@project), :class => "btn"
2011-12-30 07:54:42 +01:00