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

Display column headers of feature flag table on small screen

parent 9494a374
......@@ -7,16 +7,20 @@
.gl-responsive-table-row{ role: 'row' }
.table-section.section-10{ role: 'gridcell' }
- if feature_flag.active?
%span.badge.badge-success
= s_('FeatureFlags|Active')
- else
%span.badge.badge-danger
= s_('FeatureFlags|Inactive')
.table-mobile-header{ role: "rowheader" }= s_('FeatureFlags|Status')
.table-mobile-content
- 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
.text-secondary= feature_flag.description
.table-section.section-50{ role: 'gridcell' }
.table-mobile-header{ role: "rowheader" }= s_('FeatureFlags|Feature Flag')
.table-mobile-content.d-flex.flex-column
.text-monospace= feature_flag.name
.text-secondary= feature_flag.description
.table-section.section-40.table-button-footer{ role: 'gridcell' }
.table-action-buttons.btn-group
......
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