Display names in master import
| @@ -235,7 +235,7 @@ class PresetManager { | ||
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | const sectionNames = validSections.reduce((acc, key) => { |
| 238 | 238 | acc[key] = { key: key, name: this.masterSections[key].name, preset: data[key]?.name || '' }; |
| 239 | 239 | return acc; |
| 240 | 240 | }, {}); |
| 241 | 241 | |
| @@ -3,9 +3,15 @@ | ||
| 3 | 3 | </h3> |
| 4 | 4 | <div class="flex-container flexFlowColumn justifyLeft"> |
| 5 | 5 | {{#each sections}} |
| 6 | + {{#with this}} | |
| 6 | 7 | <label class="checkbox_label"> |
| 7 | 8 | <input type="checkbox" value="{{@key}}" checked> |
| 8 | 9 | <span data-i18n="{{thisname}}">{{thisname}}</span> |
| 10 | + {{#if preset}} | |
| 11 | + <span>–</span> | |
| 12 | + <small>{{preset}}</small> | |
| 13 | + {{/if}} | |
| 9 | 14 | </label> |
| 15 | + {{/with}} | |
| 10 | 16 | {{/each}} |
| 11 | 17 | </div> |