|
7 | 7 | <turbo-frame id="settings" autoscroll data-autoscroll-behavior="smooth"> |
8 | 8 | <%= render "settings_nav", active: "previews" %> |
9 | 9 | <section> |
| 10 | + <% admin_tool("mb3") do %> |
| 11 | + <%= render partial: "features/preview", locals: { |
| 12 | + id: "minimalistic-ledger", |
| 13 | + feature_flag: :transactions_background_2024_06_05, |
| 14 | + name: "Minimalistic Ledger", |
| 15 | + description: "This feature flag makes the ledger more minimalistic by removing the colored backgrounds from transactions.", |
| 16 | + user: @user |
| 17 | + } %> |
| 18 | + <% end %> |
10 | 19 |
|
11 | 20 | <%= render partial: "features/preview", locals: { |
12 | 21 | id: "transaction-popovers", |
|
16 | 25 | user: @user |
17 | 26 | } %> |
18 | 27 |
|
19 | | - <%= render partial: "features/preview", locals: { |
20 | | - id: "minimalistic-ledger", |
21 | | - feature_flag: :transactions_background_2024_06_05, |
22 | | - name: "Minimalistic Ledger", |
23 | | - description: "This feature flag makes the ledger more minimalistic by removing the colored backgrounds from transactions.", |
24 | | - user: @user |
25 | | - } if Flipper.enabled?(:transactions_background_2024_06_05, @user) %> |
26 | | - |
27 | 28 | <%= render partial: "features/preview", locals: { |
28 | 29 | id: "sudo-mode", |
29 | 30 | feature_flag: :sudo_mode_2015_07_21, |
|
0 commit comments