Fix Misc UI issues (#62)

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

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

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

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

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

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

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

Loading…
Cancel
Save