mirror of
https://github.com/flextype/flextype.git
synced 2025-08-13 16:44:36 +02:00
fix(admin-plugin): fix incorrect data merging of manifest and settings for plugins and themes #404
This commit is contained in:
@@ -28,13 +28,13 @@
|
||||
<i class="icon">{{ icon('fas fa-palette') }}</i>
|
||||
</td>
|
||||
<td class="pl-0 {% if key == registry.flextype.theme %}{% else %}opacity-50{% endif %}">
|
||||
<a href="{{ path_for('admin.templates.index') }}?theme={{ key }}">{{ theme.name }}</a>
|
||||
<a href="{{ path_for('admin.templates.index') }}?theme={{ key }}">{{ theme.manifest.name }}</a>
|
||||
</td>
|
||||
<td class="{% if key == registry.flextype.theme %}{% else %}opacity-50{% endif %}">{{ theme.description }}</td>
|
||||
<td class="{% if key == registry.flextype.theme %}{% else %}opacity-50{% endif %}">{{ theme.manifest.description }}</td>
|
||||
<td class="{% if key == registry.flextype.theme %}{% else %}opacity-50{% endif %}">
|
||||
<a href="{{ theme.author.url }}" target="_blank">{{ theme.author.name }}</a>
|
||||
<a href="{{ theme.author.url }}" target="_blank">{{ theme.manifest.author.name }}</a>
|
||||
</td>
|
||||
<td class="{% if key == registry.flextype.theme %}{% else %}opacity-50{% endif %}">{{ theme.version }}</td>
|
||||
<td class="{% if key == registry.flextype.theme %}{% else %}opacity-50{% endif %}">{{ theme.manifest.version }}</td>
|
||||
<td class="text-right">
|
||||
<button type="button" class="js-dropdown-btn" data-dropdown="dropdown-{{ key }}">
|
||||
<i class="icon">{{ icon('fas fa-ellipsis-h') }}</i>
|
||||
@@ -72,4 +72,4 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
@@ -15,10 +15,12 @@
|
||||
{{ key }}
|
||||
</td>
|
||||
<td>
|
||||
{{ value }}
|
||||
{% if value is not iterable %}
|
||||
{{ value }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user