gitlab-org--gitlab-foss/app/views/projects/_show.html.haml

23 lines
620 B
Text

%h5.title
= @project.name
%br
%div
%a.btn.info{:href => tree_project_ref_path(@project, @project.root_ref)} Browse code
 
%a.btn{:href => project_commits_path(@project)} Commits
%strong.right
= link_to project_path(@project) do
Switch to project →
%br
.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"
= simple_format @project.description
- unless @events.blank?
%h4.middle_title Recent Activity
.content_list= render @events