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

Show emtpy state if now feature flags exist

parent c15bfd70
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
.badge.badge-pill .badge.badge-pill
= @feature_flags.count = @feature_flags.count
%ul.content-list.pages-domain-list %ul.content-list.pages-domain-list
- if @feature_flags.empty?
%li
.nothing-here-block
= s_('FeatureFlags|No feature flags found.')
- else
- @feature_flags.each do |feature_flag| - @feature_flags.each do |feature_flag|
%li.pages-domain-list-item.unstyled %li.pages-domain-list-item.unstyled
= feature_flag.name = 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