2011-12-30 07:54:42 +01:00
|
|
|
= render "project_head"
|
2012-02-08 00:00:49 +01:00
|
|
|
%h3
|
|
|
|
= @project.name
|
2012-03-03 12:03:03 +01:00
|
|
|
%span.right
|
|
|
|
- if can? current_user, :download_code, @project
|
|
|
|
= link_to "Download", archive_project_repository_path(@project), :class => "btn small padded"
|
|
|
|
- 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-02-18 13:12:48 +01:00
|
|
|
.back_link
|
|
|
|
= link_to projects_path do
|
|
|
|
← To projects list
|
2012-02-26 21:06:40 +01:00
|
|
|
%br
|
2012-02-08 00:00:49 +01:00
|
|
|
.alert-message.block-message.warning
|
|
|
|
.input
|
|
|
|
.input-prepend
|
|
|
|
%span.add-on git clone
|
|
|
|
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
|
|
|
|
|
2012-03-14 11:34:03 +01:00
|
|
|
- if @project.description.present?
|
2012-03-19 21:52:16 +01:00
|
|
|
.prettyprint= markdown @project.description
|
2012-03-01 21:43:04 +01:00
|
|
|
- unless @events.blank?
|
2012-03-19 21:52:16 +01:00
|
|
|
%br
|
|
|
|
%h5.cgray
|
|
|
|
%span.ico.activities
|
|
|
|
Recent Activity
|
|
|
|
%hr
|
2012-03-01 21:43:04 +01:00
|
|
|
.content_list= render @events
|
2012-02-08 00:00:49 +01:00
|
|
|
|
|
|
|
|