| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | @include 'layout/head.html' |
| 5 | </head> |
| 6 | <body> |
| 7 | @include 'layout/header.html' |
| 8 | |
| 9 | <div class="content"> |
| 10 | @include 'layout/repo_menu.html' |
| 11 | |
| 12 | <h1>Contributors</h1> |
| 13 | |
| 14 | @if contributors.len > 0 |
| 15 | .contributors-list { |
| 16 | @for contributor in contributors |
| 17 | .contributors-item { |
| 18 | <div class='avatar'> |
| 19 | <img src="@{app.prepare_user_avatar_url(contributor.avatar)}"> |
| 20 | </div> |
| 21 | @if contributor.is_registered |
| 22 | <a href="/@contributor.username"><h3>@contributor.username</h3></a> |
| 23 | @else |
| 24 | <h3>@contributor.username</h3> |
| 25 | @end |
| 26 | } |
| 27 | @end |
| 28 | } |
| 29 | @else |
| 30 | <h2>%no_contributors</h2> |
| 31 | @end |
| 32 | </div> |
| 33 | |
| 34 | @include 'layout/footer.html' |
| 35 | </body> |
| 36 | </html> |
| 37 | |
| 38 | |