From 6a139442c8dde2964cfbbaaf3d459d1dd95bfe5a Mon Sep 17 00:00:00 2001 From: veselcraft Date: Sat, 20 Nov 2021 14:30:18 +0300 Subject: [PATCH] Users: Fix #289 --- Web/Presenters/templates/User/View.xml | 39 +++++++++++--------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index d7615e68..a2154f45 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -354,9 +354,9 @@
{$alert}
-
-

{$user->getFullName()}

- {if !is_null($user->getStatus())} +
+

{$user->getFullName()}

+ {if !is_null($user->getStatus())}
{$user->getStatus()}
{elseif isset($thisUser) && $user->getId() == $thisUser->getId()}
@@ -365,7 +365,7 @@ {/if}
- +
@@ -399,7 +399,7 @@
{_"gender"}:
-
+
{_"information"}
@@ -407,7 +407,6 @@ {capture $contactInfo_Tmp} - - @@ -480,26 +478,21 @@ {/capture}
+

{_"contact_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}[ {_"edit"} ]{/if}{/ifset}

{if !empty($contactInfo_Tmp)} -

{_"contact_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}[ {_"edit"} ]{/if}{/ifset}

- {if !empty($contactInfo_Tmp)} - {$contactInfo_Tmp|noescape} - {else} -
{_no_information_provided}
- {/if} -
+ {$contactInfo_Tmp|noescape} + {else} +
{_no_information_provided}
+ {/if} +
+

{_"personal_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}[ {_"edit"} ]{/if}{/ifset}

+ {if !empty($uInfo_Tmp)} + {$uInfo_Tmp|noescape} + {else} +
{_no_information_provided}
{/if} -

{_"personal_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}[ {_"edit"} ]{/if}{/ifset}

- {if !empty($uInfo_Tmp)} - {$uInfo_Tmp|noescape} - {else} -
{_no_information_provided}
- {/if}
-

- Пользователь предпочёл оставить о себе только воздух тайны. -

{presenter "openvk!Wall->wallEmbedded", $user->getId()}
{_"email"}: @@ -432,7 +431,6 @@
{_"city"}: {$user->getCity()}