2016-02-14 11:53:27 +01:00
|
|
|
<div class="resource-details artist-details" ng-class="::{'x-archived': artist.is_archived}">
|
2016-05-19 23:31:04 +02:00
|
|
|
|
2016-05-22 00:22:43 +02:00
|
|
|
<header ng-style="{'background-image': 'linear-gradient(135deg, ' + artist.avatar_colors[0] + ' 15%, ' + artist.avatar_colors[1] + ' 100%)'}">
|
2016-05-19 23:31:04 +02:00
|
|
|
<img src="{{::artist.avatars.normal}}">
|
|
|
|
<div class="artist-right">
|
2016-05-26 00:57:46 +02:00
|
|
|
<h1>{{::artist.name}}<i class="fa fa-star admin-star" ng-show="::artist.isAdmin" data-title="Admin" bs-tooltip></i></h1>
|
2016-05-19 23:31:04 +02:00
|
|
|
<a href="#" class="btn btn-default" ng-class="{'btn-primary': !artist.user_data.is_following}" ng-show="::auth.isLogged && auth.user.id != artist.id" pfm-eat-click ng-click="toggleFollow()">
|
2015-10-25 03:35:37 +01:00
|
|
|
<span ng-hide="artist.user_data.is_following">Follow</span>
|
|
|
|
<span ng-show="artist.user_data.is_following">Following!</span>
|
|
|
|
</a>
|
2016-05-19 23:31:04 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<ul class="tabs">
|
|
|
|
<li ui-sref-active="active"><a ui-sref=".profile">Profile</a></li>
|
|
|
|
<li ui-sref-active="active"><a ui-sref=".content">Content</a></li>
|
|
|
|
<li ng-if="::!artist.is_archived" ui-sref-active="active">
|
|
|
|
<a ui-sref=".favourites">Favourites</a>
|
2015-10-25 03:35:37 +01:00
|
|
|
</li>
|
2016-05-19 23:31:04 +02:00
|
|
|
<li ng-if="::artist.permissions.edit" ui-sref-active="{active: '.account'}"><a ui-sref=".account.settings">Manage Account</a></li>
|
2015-10-25 03:35:37 +01:00
|
|
|
</ul>
|
|
|
|
<div class="stretch-to-bottom">
|
|
|
|
<ui-view></ui-view>
|
|
|
|
</div>
|
|
|
|
</div>
|