Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
37ebe5d8
Commit
37ebe5d8
authored
Sep 24, 2018
by
Winnie Hellmann
Committed by
Kamil Trzciński
Oct 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display column headers of feature flag table on small screen
parent
9494a374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
app/views/projects/feature_flags/_table.html.haml
app/views/projects/feature_flags/_table.html.haml
+13
-9
No files found.
app/views/projects/feature_flags/_table.html.haml
View file @
37ebe5d8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment