mirror of
https://github.com/flextype/flextype.git
synced 2025-08-24 13:52:56 +02:00
feat(admin-plugin): show message on plugins page if no plugins installed #294
This commit is contained in:
@@ -264,6 +264,7 @@ admin_icon: "Icon"
|
||||
admin_menu: "Menu"
|
||||
admin_seo: "Seo"
|
||||
admin_main: "Main"
|
||||
admin_you_have_no_plugins: "You have no plugins"
|
||||
admin_help_text_for_settings_site_title_label: "Title for your site."
|
||||
admin_help_text_for_settings_site_robots_label: "Robots settings for your site."
|
||||
admin_help_text_for_settings_site_keywords_label: "Keywords for your site."
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{% extends "plugins/admin/views/partials/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% if (plugins_list|length > 0) %}
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
{% for key, plugin in plugins_list %}
|
||||
@@ -35,4 +36,10 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="empty-list-message">
|
||||
<i class="fas fa-list"></i>
|
||||
<h3>{{ tr('admin_you_have_no_plugins') }}</h3>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user