mirror of
https://github.com/flextype/flextype.git
synced 2025-08-24 05:43:10 +02:00
feat(admin-plugin): add ability to set individual icons #250
- for entries and entries collections - for entries fieldsets
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<tbody>
|
||||
{% for entry in entries_list %}
|
||||
<tr>
|
||||
<td style="width: 50px; text-align:center;">
|
||||
<td style="width: 50px; padding-right: 10px; text-align:center;">
|
||||
{% if entry.fieldset %}
|
||||
{% set fieldset_path = PATH_FIELDSETS ~ '/' ~ entry.fieldset ~ '.yaml' %}
|
||||
{% if filesystem_has(fieldset_path) %}
|
||||
|
@@ -12,7 +12,7 @@
|
||||
<tbody>
|
||||
{% for id, title in fieldsets_list %}
|
||||
<tr>
|
||||
<td style="width: 50px; text-align:center;">
|
||||
<td style="width: 50px; padding-right: 10px; text-align:center;">
|
||||
{% set fieldset_path = PATH_FIELDSETS ~ '/' ~ id ~ '.yaml' %}
|
||||
{% if filesystem_has(fieldset_path) %}
|
||||
{% set fieldset = yaml_decode(filesystem_read(fieldset_path)) %}
|
||||
|
Reference in New Issue
Block a user