Fix Misc UI issues (#62)

pull/6/head
Qstick 7 years ago committed by GitHub
parent de5e0871cf
commit 1c3cfad23f

@ -50,7 +50,8 @@ var Collection = PageableCollection.extend({
},
sortMappings : {
'artist' : { sortKey : 'artist.sortName' }
'artist' : { sortKey : 'artist.sortName' },
'album' : { sortKey : 'album.title' }
},
initialize : function(options) {

@ -35,8 +35,7 @@ module.exports = Marionette.Layout.extend({
{
name : 'album',
label : 'Album Title',
cell : AlbumTitleCell,
sortable : false
cell : AlbumTitleCell
},
{
name : 'this',

@ -42,7 +42,6 @@ module.exports = Marionette.Layout.extend({
tooltip : 'Toggle artist monitored status',
sortable : false
},
{
name : 'albums',
label : 'Albums',

@ -11,6 +11,7 @@ var AlbumCollectionView = require('./AlbumStudioCollectionView');
module.exports = Marionette.Layout.extend({
template : 'AlbumStudio/AlbumsCellTemplate',
tagName : 'td',
regions : {
albums : '#albums'

@ -1,10 +1,10 @@
{{#if_eq statistics.totalTrackCount compare=0}}
<span class="album album-unaired">
<span class="single-album album-unaired">
{{else}}
{{#if_eq statistics.percentOfTracks compare=100}}
<span class="album album-all">
<span class="single-album album-all">
{{else}}
<span class="album album-partial">
<span class="single-album album-partial">
{{/if_eq}}
{{/if_eq}}
<span class="label">

@ -8,7 +8,7 @@
}
}
.album {
.single-album {
display : inline-block;
margin-bottom : 4px;

Loading…
Cancel
Save