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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
632 B
Text
Raw Normal View History

2023-03-04 22:38:38 +05:30
.info-well.gl-sm-display-flex.gl-flex-direction-column
.well-segment.gl-p-5.gl-w-full.gl-display-flex
.gl-icon.s32.gl-mt-4.gl-mr-4.gl-text-center
= sprite_icon('fork')
- source = visible_fork_source(@project)
- if source
%div
#{ s_('ForkedFromProjectPath|Forked from') }
= link_to source.full_name, project_path(source), data: { qa_selector: 'forked_from_link' }
.gl-text-secondary
= fork_divergence_message(::Projects::Forks::DivergenceCounts.new(@project, @ref).counts)
- else
.gl-py-4
= s_('ForkedFromProjectPath|Forked from an inaccessible project')