15 lines
632 B
Text
15 lines
632 B
Text
|
.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')
|