31 lines
1 KiB
Text
31 lines
1 KiB
Text
- empty_repo = @project.empty_repo?
|
|
.project-home-panel.cover-block.clearfix{:class => ("empty-project" if empty_repo)}
|
|
.project-identicon-holder
|
|
= project_icon(@project, alt: '', class: 'project-avatar avatar s90')
|
|
.project-home-desc
|
|
%h1= @project.name
|
|
- if @project.description.present?
|
|
= markdown(@project.description, pipeline: :description)
|
|
|
|
- if forked_from_project = @project.forked_from_project
|
|
%p
|
|
Forked from
|
|
= link_to project_path(forked_from_project) do
|
|
= forked_from_project.namespace.try(:name)
|
|
.cover-controls
|
|
.visibility-level-label
|
|
= visibility_level_icon(@project.visibility_level)
|
|
= visibility_level_label(@project.visibility_level)
|
|
|
|
.project-repo-buttons
|
|
.split-one
|
|
= render 'projects/buttons/star'
|
|
= render 'projects/buttons/fork'
|
|
|
|
= render "shared/clone_panel"
|
|
|
|
.split-repo-buttons
|
|
= render "projects/buttons/download"
|
|
= render 'projects/buttons/dropdown'
|
|
|
|
= render 'projects/buttons/notifications'
|