mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix indentation in User/View.xml
This commit is contained in:
parent
ab231aa55f
commit
4dcc5981f1
1 changed files with 43 additions and 42 deletions
|
@ -354,49 +354,50 @@
|
||||||
<div class="page_info">
|
<div class="page_info">
|
||||||
<div n:if="!is_null($alert = $user->getAlert())" class="user-alert">{$alert}</div>
|
<div n:if="!is_null($alert = $user->getAlert())" class="user-alert">{$alert}</div>
|
||||||
<div class="accountInfo clearFix">
|
<div class="accountInfo clearFix">
|
||||||
<div class="profileName">
|
<div class="profileName">
|
||||||
<h2>{$user->getFullName()}</h2>
|
<h2>{$user->getFullName()}</h2>
|
||||||
{if !is_null($user->getStatus())}
|
{if !is_null($user->getStatus())}
|
||||||
<div class="page_status">{$user->getStatus()}</div>
|
<div class="page_status">{$user->getStatus()}</div>
|
||||||
{elseif isset($thisUser) && $user->getId() == $thisUser->getId()}
|
{elseif isset($thisUser) && $user->getId() == $thisUser->getId()}
|
||||||
<div class="page_status">
|
<div class="page_status">
|
||||||
<a href="/edit" class="edit_link">[ {_"change_status"} ]</a>
|
<a href="/edit" class="edit_link">[ {_"change_status"} ]</a>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
</div><div>
|
|
||||||
<table id="basicInfo" class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:if="$user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td class="label"><span class="nobold">{_"gender"}: </span></td>
|
|
||||||
<td class="data">{$user->isFemale() ? tr("female") : tr("male")}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="label"><span class="nobold">{_"relationship"}:</span></td>
|
|
||||||
<td class="data">{var $marialStatus = $user->getMaritalStatus()}{_"relationship_$marialStatus"}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="label"><span class="nobold">{_"registration_date"}: </span></td>
|
|
||||||
<td class="data">{$user->getRegistrationTime()}</td>
|
|
||||||
</tr>
|
|
||||||
<tr n:if="!is_null($user->getHometown())">
|
|
||||||
<td class="label"><span class="nobold">{_"hometown"}:</span></td>
|
|
||||||
<td class="data">{$user->getHometown()}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="label"><span class="nobold">{_"politViews"}:</span></td>
|
|
||||||
<td class="data">{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}</td>
|
|
||||||
</tr>
|
|
||||||
{if $user->getBirthday() > 0}
|
|
||||||
<tr>
|
|
||||||
<td class="label"><span class="nobold">{_"birth_date"}:</span></td>
|
|
||||||
<td class="data">{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"}</td>
|
|
||||||
</tr>
|
|
||||||
{/if}
|
{/if}
|
||||||
</tbody>
|
</div>
|
||||||
</table>
|
</div>
|
||||||
|
<div>
|
||||||
|
<table id="basicInfo" class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:if=" $user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="label"><span class="nobold">{_"gender"}: </span></td>
|
||||||
|
<td class="data">{$user->isFemale() ? tr("female") : tr("male")}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="label"><span class="nobold">{_"relationship"}:</span></td>
|
||||||
|
<td class="data">{var $marialStatus = $user->getMaritalStatus()}{_"relationship_$marialStatus"}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="label"><span class="nobold">{_"registration_date"}: </span></td>
|
||||||
|
<td class="data">{$user->getRegistrationTime()}</td>
|
||||||
|
</tr>
|
||||||
|
<tr n:if="!is_null($user->getHometown())">
|
||||||
|
<td class="label"><span class="nobold">{_"hometown"}:</span></td>
|
||||||
|
<td class="data">{$user->getHometown()}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="label"><span class="nobold">{_"politViews"}:</span></td>
|
||||||
|
<td class="data">{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}</td>
|
||||||
|
</tr>
|
||||||
|
{if $user->getBirthday() > 0}
|
||||||
|
<tr>
|
||||||
|
<td class="label"><span class="nobold">{_"birth_date"}:</span></td>
|
||||||
|
<td class="data">{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"}</td>
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div n:if="$user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
|
<div n:if="$user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
|
||||||
|
|
Loading…
Reference in a new issue