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

27 lines
1,007 B
Plaintext
Raw Normal View History

2011-12-30 07:54:42 +01:00
= render "project_head"
2012-04-10 07:51:08 +02:00
2012-04-10 20:39:04 +02:00
.entry
2012-04-10 07:51:08 +02:00
.row
.span7
.form-horizontal
.input-prepend
%span.add-on git clone
= text_field_tag :project_clone, @project.url_to_repo, :class => "one_click_select span5"
.span4.right
.right
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project), :class => "btn small padded" do
%i.icon-download-alt
Download
- if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
= link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small padded" do
Merge Request
- if @project.issues_enabled && can?(current_user, :write_issue, @project)
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
Issue
2012-06-12 16:43:16 +02:00
= render "events/event_last_push", :event => @last_push
2012-06-21 17:41:22 +02:00
.content_list= render @events