jolie beau et ajax
This commit is contained in:
parent
7475c3ce49
commit
42ec68178a
11 changed files with 242 additions and 76 deletions
|
|
@ -15,18 +15,30 @@
|
|||
<p class="text-muted">{$user->getMail()}</p>
|
||||
|
||||
{if $user->getWork()}
|
||||
<p>{$user->getWork()}</p>
|
||||
<div class="d-flex align-items-center gap-2 mt-3">
|
||||
<i class="fa-solid fa-briefcase"></i>
|
||||
<p class="mb-0">{$user->getWork()}</p>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $user->getLocation()}
|
||||
<p>{$user->getLocation()}</p>
|
||||
|
||||
<div class="d-flex align-items-center gap-2 mt-3">
|
||||
<i class="fa-solid fa-location-dot"></i>
|
||||
<p class="mb-0">{$user->getLocation()}</p>
|
||||
</div>
|
||||
{/if}
|
||||
{if $user->getLocation()}
|
||||
|
||||
<div class="d-flex align-items-center gap-2 mt-3">
|
||||
<i class="fa-regular fa-note-sticky"></i> <p class="mb-0">{$user->getDescription()}</p>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<p class="mt-3">{$user->getDescription()}</p>
|
||||
{if $smarty.session.user.user_id == $user->getId()}
|
||||
<a class="btn btn-sm btn-primary flex-fill"
|
||||
href="?ctrl=user&action=edit">Edit account</a>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue