debian-mirror-gitlab/app/views/projects/_home_panel.html.haml

30 lines
871 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- empty_repo = @project.empty_repo?
2015-09-11 14:41:01 +05:30
.project-home-panel.clearfix{:class => ("empty-project" if empty_repo)}
2015-04-26 12:48:37 +05:30
.project-identicon-holder
2015-09-11 14:41:01 +05:30
= project_icon(@project, alt: '', class: 'project-avatar avatar s90')
2015-09-25 12:07:36 +05:30
.project-home-desc
2015-09-11 14:41:01 +05:30
%h1= @project.name
- if @project.description.present?
= markdown(@project.description, pipeline: :description)
2014-09-02 18:07:02 +05:30
2015-09-25 12:07:36 +05:30
- 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)
2015-09-11 14:41:01 +05:30
.project-repo-buttons
2015-10-24 18:46:33 +05:30
.split-one
= render 'projects/buttons/star'
2015-11-26 14:37:03 +05:30
= render 'projects/buttons/fork'
2015-10-24 18:46:33 +05:30
= render "shared/clone_panel"
2015-11-26 14:37:03 +05:30
.split-repo-buttons
= render "projects/buttons/download"
2015-10-24 18:46:33 +05:30
= render 'projects/buttons/dropdown'
2015-11-26 14:37:03 +05:30
2015-09-25 12:07:36 +05:30
= render 'projects/buttons/notifications'