1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-24 06:50:43 +00:00

Fix Misc UI issues (#62)

This commit is contained in:
Qstick 2017-08-24 22:51:36 -04:00 committed by GitHub
parent de5e0871cf
commit 1c3cfad23f
6 changed files with 8 additions and 8 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -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">

View file

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