2011-12-30 08:54:42 +02:00
|
|
|
= render "project_head"
|
2012-04-10 08:51:08 +03:00
|
|
|
|
2012-04-10 21:39:04 +03:00
|
|
|
.entry
|
2012-04-10 08:51:08 +03: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
|
2012-03-28 10:46:51 +03:00
|
|
|
- if can? current_user, :download_code, @project
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to archive_project_repository_path(@project), :class => "btn small padded" do
|
2012-04-17 22:08:07 +03:00
|
|
|
%i.icon-download-alt
|
|
|
|
Download
|
2012-03-28 10:46:51 +03:00
|
|
|
- if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to new_project_merge_request_path(@project), :title => "New Merge Request", :class => "btn small padded" do
|
2012-03-28 10:46:51 +03:00
|
|
|
Merge Request
|
|
|
|
- if @project.issues_enabled && can?(current_user, :write_issue, @project)
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
|
2012-03-28 10:46:51 +03:00
|
|
|
Issue
|
2012-02-08 01:00:49 +02:00
|
|
|
|
2012-06-12 17:43:16 +03:00
|
|
|
= render "events/event_last_push", :event => @last_push
|
2012-03-01 22:43:04 +02:00
|
|
|
- unless @events.blank?
|
2012-03-19 22:52:16 +02:00
|
|
|
%br
|
|
|
|
%h5.cgray
|
|
|
|
%span.ico.activities
|
|
|
|
Recent Activity
|
|
|
|
%hr
|
2012-03-01 22:43:04 +02:00
|
|
|
.content_list= render @events
|
2012-02-08 01:00:49 +02:00
|
|
|
|
|
|
|
|