mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
35 lines
No EOL
855 B
HTML
35 lines
No EOL
855 B
HTML
<template name="user_profile">
|
|
<div class="grid">
|
|
{{#with user}}
|
|
<div class="user-profile grid-block">
|
|
<table>
|
|
<tr>
|
|
<td colspan="2"><span class="user-avatar" style="background-image:url({{avatarUrl}});"></span></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Name: </td>
|
|
<td>{{profile.name}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Member since: </td>
|
|
<td>{{createdAtFormatted}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Bio: </td>
|
|
<td>{{profile.bio}}</td>
|
|
</tr>
|
|
</table>
|
|
{{#if canEditProfile}}
|
|
<a class="button inline" href="/users/{{_id}}/edit">Edit profile</a>
|
|
{{/if}}
|
|
{{#if canInvite}}
|
|
{{#if invitesCount}}
|
|
<a class="button inline" href="">Invite ({{invitesCount}} left)</a>
|
|
{{else}}
|
|
<a class="button inline disabled" href="">Invite (none left)</a>
|
|
{{/if}}
|
|
{{/if}}
|
|
</div>
|
|
{{/with}}
|
|
</div>
|
|
</template> |