46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
= render 'clone_panel'
|
|
|
|
.row
|
|
.span9
|
|
= render "events/event_last_push", event: @last_push
|
|
.content_list= render @events
|
|
.loading.hide
|
|
.span3
|
|
.light-well
|
|
.dropdown.pull-right
|
|
%a.dropdown-toggle.btn.btn-small{href: '#', "data-toggle" => "dropdown"}
|
|
%i.icon-plus-sign-alt
|
|
%b.caret
|
|
%ul.dropdown-menu
|
|
- if @project.issues_enabled && can?(current_user, :write_issue, @project)
|
|
%li
|
|
= link_to url_for_new_issue, title: "New Issue" do
|
|
Issue
|
|
- if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
|
|
%li
|
|
= link_to new_project_merge_request_path(@project), title: "New Merge Request" do
|
|
Merge Request
|
|
- if @project.snippets_enabled && can?(current_user, :write_snippet, @project)
|
|
%li
|
|
= link_to new_project_snippet_path(@project), title: "New Snippet" do
|
|
Snippet
|
|
- if can?(current_user, :admin_team_member, @project)
|
|
%li.divider
|
|
%li
|
|
= link_to new_project_team_member_path(@project), title: "New Team member" do
|
|
Team member
|
|
|
|
%h3.page_title
|
|
= @project.name
|
|
- if @project.description.present?
|
|
%p.light= @project.description
|
|
|
|
%hr
|
|
%p
|
|
%p Repo Size: #{@project.repository.size} MB
|
|
%p Created at: #{@project.created_at.stamp('Aug 22, 2013')}
|
|
%p Owner: #{link_to @project.owner_name, @project.owner}
|
|
- if @project.forked_from_project
|
|
%p
|
|
Forked from:
|
|
= link_to @project.forked_from_project.name_with_namespace, project_path(@project.forked_from_project)
|