mirror of https://github.com/Ombi-app/Ombi
pull/3895/head
parent
f921d84b0b
commit
4b7d7410ae
@ -0,0 +1,17 @@
|
||||
using Ombi.Store.Entities;
|
||||
|
||||
namespace Ombi.Core.Models.Search.V2.Music
|
||||
{
|
||||
public class ReleaseGroup : SearchViewModel
|
||||
{
|
||||
public new string Id { get; set; }
|
||||
public override RequestType Type => RequestType.Album;
|
||||
public string Title { get; set; }
|
||||
public string ReleaseDate { get; set; }
|
||||
public string ReleaseType { get; set; }
|
||||
public decimal PercentOfTracks { get; set; }
|
||||
public bool Monitored { get; set; }
|
||||
public bool PartiallyAvailable => PercentOfTracks != 100 && PercentOfTracks > 0;
|
||||
public bool FullyAvailable => PercentOfTracks == 100;
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
|
||||
@import 'Styles/buttons.scss';
|
||||
|
||||
// border: solid 3px #fff;
|
||||
.monitored {
|
||||
border: solid 3px $orange !important;
|
||||
}
|
||||
.available {
|
||||
border: solid 3px $green !important;
|
||||
}
|
Loading…
Reference in new issue