make user profile also a link

This commit is contained in:
Lisa Passing 2015-03-25 15:39:13 +01:00
parent 6eb89c514f
commit 802740e549

View File

@ -3,11 +3,12 @@
<div class="media">
<div class="media-elem">
<img {{bind-attr src="auth.gravatarUrl"}} alt="">
</div>
<div class="media-body">
<h1>{{userName}}</h1>
<p>Repositories <strong>{{user.reposCount}}</strong></p>
{{#link-to 'profile'}}
<h1>{{userName}}</h1>
<p>Repositories <strong>{{user.reposCount}}</strong></p>
{{/link-to}}
<p class="profile-user-last">Token: <strong>{{auth.currentUser.token}}</strong></p>
</div>
</div>