From c9a899abfd1e2eec86caba632ddfb38778986850 Mon Sep 17 00:00:00 2001 From: Diatrex Date: Thu, 17 Dec 2020 14:21:24 +0300 Subject: [PATCH 1/6] make datetime format dynamic --- .../profile-module/resources/views/profile/detail.twig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig index 0d76779e4..9fac30f1e 100644 --- a/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig +++ b/addons/default/visiosoft/profile-module/resources/views/profile/detail.twig @@ -56,7 +56,9 @@

{{ user.name }}

- +
@@ -146,7 +148,7 @@ - {{ profileForm.fields.birthday.configSet('date_format','Y-m-d').setPlaceholder(now|date('Y-m-d')).input|raw }} + {{ profileForm.fields.birthday.configSet('date_format','Y-m-d').setPlaceholder(now|date(config_get('streams::datetime.date_format'))).input|raw }}
@@ -221,7 +223,6 @@
{{ profileForm.close()|raw }} -
@@ -130,7 +130,7 @@ - {{ profileForm.fields.office_phone.input|raw }} + {{ profileForm.fields.office_phone.setAttributes({'maxlength': '14'}).input|raw }}
@@ -138,7 +138,7 @@ - {{ profileForm.fields.land_phone.input|raw }} + {{ profileForm.fields.land_phone.setAttributes({'maxlength': '14'}).input|raw }}
@@ -146,7 +146,7 @@ - {{ profileForm.fields.birthday.configSet('date_format','Y-m-d').setPlaceholder(now|date('Y-m-d')).input|raw }} + {{ profileForm.fields.birthday.configSet('date_format','d.m.Y').setPlaceholder(now|date('d.m.Y')).input|raw }}
From db07078cac1703384759ef92b1013e784b7c5bba Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Fri, 18 Dec 2020 16:00:49 +0300 Subject: [PATCH 6/6] #2737 oc.com table view bug fixed --- .../visiosoft/advs-module/resources/views/list/table.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/views/list/table.twig b/addons/default/visiosoft/advs-module/resources/views/list/table.twig index 2bed1d953..2384183b9 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/table.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/table.twig @@ -20,7 +20,7 @@ - {{ addBlock('ad-list/partials/table',{'featured_advs':featured_advs})|raw }} + {{ addBlock('ad-list/partials/table',{'featured_advs':featured_advs,'seenList':seenList})|raw }} {% for adv in advs %}