Commit 78e8a289 authored by Martin Wortschack's avatar Martin Wortschack Committed by Mark Florian

Add Pajamas badge for diverged from upstream

Changelog: changed
parent bb6c94a5
- if @project.mirror_ever_updated_successfully? && @repository.diverged_from_upstream?(branch.name) - if @project.mirror_ever_updated_successfully? && @repository.diverged_from_upstream?(branch.name)
%span.badge.gl-badge.sm.badge-pill.badge-danger.gl-ml-2.has-tooltip{ data: { html: "true", title: branch_diverged_tooltip_message } } = gl_badge_tag({ variant: :danger, size: :sm, icon: 'warning-solid' }, { class: 'has-tooltip gl-ml-2', data: { html: 'true', title: branch_diverged_tooltip_message } }) do
= sprite_icon('warning-solid', size: 12, css_class: 'gl-mr-2')
= s_('Branches|diverged from upstream') = s_('Branches|diverged from upstream')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment