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