2016-07-16 00:00:22 +02:00
|
|
|
<div class="resource-details artist-details" ng-class="::{'x-archived': artist.is_archived}">
|
2016-05-19 23:31:04 +02:00
|
|
|
|
2016-07-17 02:22:59 +02:00
|
|
|
<header ng-style="headerStyle">
|
|
|
|
<img src="{{artist.avatars.normal}}" id="avatar">
|
2016-05-19 23:31:04 +02:00
|
|
|
<div class="artist-right">
|
2016-07-16 02:27:05 +02:00
|
|
|
<h1>{{artist.name}}<i class="material-icons admin-star" ng-show="::artist.isAdmin" data-title="Admin" bs-tooltip>verified_user</i></h1>
|
2016-06-07 20:31:32 +02:00
|
|
|
<p class="follower-count">
|
|
|
|
<ng-pluralize count="artist.followers"
|
|
|
|
when="{'0': 'No followers',
|
|
|
|
'one': '1 follower',
|
|
|
|
'other': '{} followers'}">
|
|
|
|
</ng-pluralize>
|
|
|
|
</p>
|
2016-07-17 02:22:59 +02:00
|
|
|
<a href="#" class="btn btn-default btn-flat" ng-class="{'btn-primary': !artist.user_data.is_following}" ng-show="auth.isLogged && auth.user.id != artist.id" pfm-eat-click ng-click="toggleFollow()">
|
2016-06-06 05:05:51 +02:00
|
|
|
<span ng-if="!artist.user_data.is_following">Follow</span>
|
|
|
|
<span ng-if="artist.user_data.is_following">Following!</span>
|
2015-10-25 03:35:37 +01:00
|
|
|
</a>
|
2016-05-19 23:31:04 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</header>
|
2016-08-03 02:37:23 +02:00
|
|
|
<md-tabs class="account-tabs" md-selected="selectedTab" md-border-bottom>
|
|
|
|
<md-tab ui-sref=".profile" name="profile">Profile</md-tab>
|
|
|
|
<md-tab ui-sref=".content" name="content">Content</md-tab>
|
|
|
|
<md-tab ng-if="::!artist.is_archived" ui-sref=".favourites" name="favourites">Favourites</md-tab>
|
|
|
|
<md-tab ng-if="::artist.permissions.edit" ui-sref=".account.settings" name="settings">Manage Account</md-tab>
|
|
|
|
</md-tabs>
|
2016-06-20 03:45:30 +02:00
|
|
|
<div class="stretch-to-bottom secondary-content">
|
2015-10-25 03:35:37 +01:00
|
|
|
<ui-view></ui-view>
|
|
|
|
</div>
|
|
|
|
</div>
|