Pony.fm/public/templates/directives/users-list.html

20 lines
786 B
HTML
Raw Permalink Normal View History

<ul class="users-listing">
<li class="artist" ng-class="{'x-archived': user.is_archived}" ng-repeat="user in users track by user.id">
<a ng-href="{{::user.url}}">
<img class="image" pfm-src-loader="user.avatars.small" pfm-src-size="small" />
<span class="info">
<span class="title">{{::user.name}}</span>
<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>
</span>
</a>
</li>
<li ng-show="!users.length" class="empty">
No users found&hellip;
</li>
</ul>