From b0c6a7b56769349b3b44ff010e1f5fbc6db2c2aa Mon Sep 17 00:00:00 2001 From: muammertop Date: Sat, 22 May 2021 13:39:14 +0300 Subject: [PATCH] #3284 Add description area in all modules on admin panel --- .../default/visiosoft/advs-module/resources/lang/en/addon.php | 1 + .../default/visiosoft/cats-module/resources/lang/en/addon.php | 3 ++- .../visiosoft/defaultadmin-theme/resources/css/theme.css | 4 ++++ .../defaultadmin-theme/resources/views/layouts/default.twig | 4 ++++ .../visiosoft/location-module/resources/lang/en/addon.php | 1 + 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/addon.php b/addons/default/visiosoft/advs-module/resources/lang/en/addon.php index 0eae4be7f..40f95d8aa 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/addon.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/addon.php @@ -4,4 +4,5 @@ return [ 'title' => 'Ads', 'name' => 'Ads Module', 'description' => 'Ads Module', + 'info' => 'This is the screen where you can add, delete and edit ads from the Ads page. On this page, you can simply do the operations such as post management and ad configuration.' ]; diff --git a/addons/default/visiosoft/cats-module/resources/lang/en/addon.php b/addons/default/visiosoft/cats-module/resources/lang/en/addon.php index 35bfec0c4..957b274b9 100644 --- a/addons/default/visiosoft/cats-module/resources/lang/en/addon.php +++ b/addons/default/visiosoft/cats-module/resources/lang/en/addon.php @@ -3,5 +3,6 @@ return [ 'title' => 'Category', 'name' => 'Category Module', - 'description' => '' + 'description' => '', + 'info' => 'This is the screen where you can add, delete and edit categories from the category page. You can easily manage main categories and sub-categories from this page.', ]; diff --git a/addons/default/visiosoft/defaultadmin-theme/resources/css/theme.css b/addons/default/visiosoft/defaultadmin-theme/resources/css/theme.css index 620fb2fdb..650f916ba 100644 --- a/addons/default/visiosoft/defaultadmin-theme/resources/css/theme.css +++ b/addons/default/visiosoft/defaultadmin-theme/resources/css/theme.css @@ -2762,6 +2762,10 @@ body { } } +.page-info { + background-color: rgba(17, 190, 246, 0.6); +} + /** bootstrap 4.1 Column Fix**/ .col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%} diff --git a/addons/default/visiosoft/defaultadmin-theme/resources/views/layouts/default.twig b/addons/default/visiosoft/defaultadmin-theme/resources/views/layouts/default.twig index 8031c5e70..4c0dbe7bb 100644 --- a/addons/default/visiosoft/defaultadmin-theme/resources/views/layouts/default.twig +++ b/addons/default/visiosoft/defaultadmin-theme/resources/views/layouts/default.twig @@ -24,6 +24,10 @@ {{ breadcrumb() }} + {% if trans('module::addon.info') != 'module::addon.info' %} +
{{ trans('module::addon.info') }}
+ {% endif %} +
{% include "theme::partials/messages" %} {% include "theme::partials/buttons" %} diff --git a/addons/default/visiosoft/location-module/resources/lang/en/addon.php b/addons/default/visiosoft/location-module/resources/lang/en/addon.php index 1ae17f459..3ab808351 100644 --- a/addons/default/visiosoft/location-module/resources/lang/en/addon.php +++ b/addons/default/visiosoft/location-module/resources/lang/en/addon.php @@ -4,4 +4,5 @@ return [ 'title' => 'Location', 'name' => 'Location Module', 'description' => 'Description', + 'info' => 'On this page, you can manage country, city, district, neighborhood and village information.', ];