36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
= render "project_head"
|
|
|
|
.entry
|
|
.row
|
|
-#.span2
|
|
.back_link
|
|
= link_to projects_path do
|
|
← To projects list
|
|
.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
|
|
|
|
- unless @events.blank?
|
|
%br
|
|
%h5.cgray
|
|
%span.ico.activities
|
|
Recent Activity
|
|
%hr
|
|
.content_list= render @events
|
|
|
|
|