| 1 |
<h1><i class="fa fa-user"></i> @title</h1> |
| 2 |
|
| 3 |
<table class="table"> |
| 4 |
<thead> |
| 5 |
<tr> |
| 6 |
<th colspan="3">User</th> |
| 7 |
<th>Projects</th> |
| 8 |
</tr> |
| 9 |
</thead> |
| 10 |
<tbody> |
| 11 |
@for (u in list) { |
| 12 |
<tr> |
| 13 |
<td><img src="//www.gravatar.com/avatar/@(u.emailHash).jpg?s=150" class="img-circle" width="48" height="48" alt="Avatar of @u.user.name" /></td> |
| 14 |
<th><a href="/u/@u.user.name/">@u.user.name</a></th> |
| 15 |
<td>@u.user.fullname</td> |
| 16 |
<td> |
| 17 |
<p> |
| 18 |
@{i = 0;} |
| 19 |
@for (p in u.projects) { |
| 20 |
@{i++;} |
| 21 |
<strong><a href="/p/@p.name">@p.name</a></strong>@if(i<u.projects.length){,} |
| 22 |
} |
| 23 |
</p> |
| 24 |
</td> |
| 25 |
</tr> |
| 26 |
} |
| 27 |
</tbody> |
| 28 |
</table> |