Commit def89c5e authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Kamil Trzciński

Replace checkbox for status in feature flag list with badge

parent afbd7293
......@@ -7,7 +7,12 @@
.gl-responsive-table-row{ role: 'row' }
.table-section.section-10{ role: 'gridcell' }
= check_box_tag 'feature_flag_status', nil, feature_flag.active?, disabled: true
- if feature_flag.active?
%span.badge.badge-success
= s_('FeatureFlags|Active')
- else
%span.badge.badge-danger
= s_('FeatureFlags|Inactive')
.table-section.section-50.d-flex.flex-column{ role: 'gridcell' }
.text-monospace= feature_flag.name
......
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