mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 13:37:59 +01:00
30 lines
1.6 KiB
HTML
30 lines
1.6 KiB
HTML
<div class="resource-details artist-details" ng-class="::{'x-archived': artist.is_archived}">
|
|
|
|
<header ng-style="headerStyle">
|
|
<img src="{{artist.avatars.normal}}" id="avatar">
|
|
<div class="artist-right">
|
|
<h1>{{artist.name}}<i class="material-icons admin-star" ng-show="::artist.isAdmin" data-title="Admin" bs-tooltip>verified_user</i></h1>
|
|
<p class="follower-count">
|
|
<ng-pluralize count="artist.followers"
|
|
when="{'0': 'No followers',
|
|
'one': '1 follower',
|
|
'other': '{} followers'}">
|
|
</ng-pluralize>
|
|
</p>
|
|
<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()">
|
|
<span ng-if="!artist.user_data.is_following">Follow</span>
|
|
<span ng-if="artist.user_data.is_following">Following!</span>
|
|
</a>
|
|
|
|
</div>
|
|
</header>
|
|
<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>
|
|
<div class="stretch-to-bottom secondary-content">
|
|
<ui-view></ui-view>
|
|
</div>
|
|
</div>
|