Vulcan/client/views/users/user_profile.html

28 lines
646 B
HTML
Raw Normal View History

2012-09-24 22:27:29 +02:00
<template name="user_profile">
<div class="grid">
{{#with user}}
<div class="user-profile grid-block">
<table>
<tr>
2012-10-11 08:23:52 +09:00
<td colspan="2"><span class="user-avatar" style="background-image:url({{avatarUrl}});"></span></td>
2012-09-24 22:27:29 +02:00
</tr>
<tr>
<td>{{i18n "Name"}}: </td>
2012-09-24 22:27:29 +02:00
<td>{{username}}</td>
</tr>
<tr>
<td>{{i18n "Member since"}}: </td>
2012-10-11 08:23:52 +09:00
<td>{{createdAtFormatted}}</td>
2012-09-24 22:27:29 +02:00
</tr>
<tr>
<td>{{i18n "Bio"}}: </td>
2012-09-24 22:27:29 +02:00
<td>{{profile.bio}}</td>
</tr>
</table>
2012-10-11 08:23:52 +09:00
{{#if isCurrentUser}}
<a href="/users/{{_id}}/edit">{{i18n "Edit profile"}}</a>
2012-09-24 22:27:29 +02:00
{{/if}}
</div>
{{/with}}
</div>
</template>