From b2d836f36d57de6f35c4308cd9b9de4a2c7850f8 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Tue, 5 Jul 2022 22:23:47 +0700 Subject: [PATCH] Search, Friends: Use localized marital status Resolves #458 --- Web/Presenters/templates/Search/Index.xml | 2 +- Web/Presenters/templates/User/Friends.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/templates/Search/Index.xml b/Web/Presenters/templates/Search/Index.xml index 6b943e5c..df0ff0c0 100644 --- a/Web/Presenters/templates/Search/Index.xml +++ b/Web/Presenters/templates/Search/Index.xml @@ -68,7 +68,7 @@ {_"relationship"}: - {var $marialStatus = $x->getMaritalStatus()}{_"relationship_$marialStatus"} + {$x->getLocalizedMaritalStatus()} {_"registration_date"}: diff --git a/Web/Presenters/templates/User/Friends.xml b/Web/Presenters/templates/User/Friends.xml index 4bbedfe4..2f6d3784 100644 --- a/Web/Presenters/templates/User/Friends.xml +++ b/Web/Presenters/templates/User/Friends.xml @@ -101,7 +101,7 @@ {_"relationship"}: - {var $marialStatus = $x->getMaritalStatus()}{_"relationship_$marialStatus"} + {$x->getLocalizedMaritalStatus()} {_"registration_date"}: