diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index a2154f45..2687c42b 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -354,49 +354,50 @@
{$alert}
-
-

{$user->getFullName()}

- {if !is_null($user->getStatus())} -
{$user->getStatus()}
- {elseif isset($thisUser) && $user->getId() == $thisUser->getId()} - - {/if} -
-
- - - - - - - - - - - - - - - - - - - - - - - {if $user->getBirthday() > 0} - - - - +
+

{$user->getFullName()}

+ {if !is_null($user->getStatus())} +
{$user->getStatus()}
+ {elseif isset($thisUser) && $user->getId() == $thisUser->getId()} + {/if} -
-
{_"gender"}: {$user->isFemale() ? tr("female") : tr("male")}
{_"relationship"}:{var $marialStatus = $user->getMaritalStatus()}{_"relationship_$marialStatus"}
{_"registration_date"}: {$user->getRegistrationTime()}
{_"hometown"}:{$user->getHometown()}
{_"politViews"}:{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}
{_"birth_date"}:{date('d F Y',$user->getBirthday())}, - {date('m d') >= date('m d', $user->getBirthday()) ? date('Y') - date('Y', $user->getBirthday()) : - (date('m d') < date('m d', $user->getBirthday()) ? date('Y') - date('Y', $user->getBirthday()) - 1)} {_"years"}
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + {if $user->getBirthday() > 0} + + + + + {/if} + +
{_"gender"}: {$user->isFemale() ? tr("female") : tr("male")}
{_"relationship"}:{var $marialStatus = $user->getMaritalStatus()}{_"relationship_$marialStatus"}
{_"registration_date"}: {$user->getRegistrationTime()}
{_"hometown"}:{$user->getHometown()}
{_"politViews"}:{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}
{_"birth_date"}:{date('d F Y',$user->getBirthday())}, + {date('m d') >= date('m d', $user->getBirthday()) ? date('Y') - date('Y', $user->getBirthday()) : + (date('m d') < date('m d', $user->getBirthday()) ? date('Y') - date('Y', $user->getBirthday()) - 1)} {_"years"}