Pony.fm/public/templates/directives/users-list.html
2016-08-08 17:32:01 +01:00

24 lines
1,022 B
HTML

<div layout="row" layout-wrap>
<p ng-show="!users.length" class="empty">
No users found&hellip;
</p>
<a ng-repeat="user in users track by user.id" ng-href="{{::user.url}}" class="clickable" flex-xs="{{xsSize}}" flex-sm="50" flex-gt-sm="{{smSize}}" flex-gt-md="{{mdSize}}" flex-gt-lg="{{lgSize}}">
<md-card class="user">
<img class="md-card-image" pfm-src-loader="::user.avatars.normal" pfm-src-size="normal">
<md-card-content>
<span><strong>{{::user.name}}</strong></span>
</md-card-content>
<md-card-actions layout="row" layout-align="start center" class="user-info">
<span ng-hide="user.is_archived" class="published">
joined {{::user.created_at.date | momentFromNow}}
</span>
<span ng-show="::user.is_archived" class="published">
archived artist
</span>
</md-card-actions>
</md-card>
</a>
</div>