mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Couple touch ups
This commit is contained in:
parent
3d23ac9234
commit
d9b7dd257e
@ -105,7 +105,7 @@ public string BuildFilename(IList<Episode> episodes, Series series, EpisodeFile
|
||||
}
|
||||
}
|
||||
|
||||
var episodeFormat = GetSeasonEpisodePattern(pattern);
|
||||
var episodeFormat = GetEpisodeFormat(pattern);
|
||||
|
||||
if (episodeFormat != null)
|
||||
{
|
||||
@ -246,7 +246,7 @@ private string ReplaceNumberToken(string token, int value)
|
||||
return value.ToString(split[1]);
|
||||
}
|
||||
|
||||
private EpisodeFormat GetSeasonEpisodePattern(string pattern)
|
||||
private EpisodeFormat GetEpisodeFormat(string pattern)
|
||||
{
|
||||
return _patternCache.Get(pattern, () =>
|
||||
{
|
||||
|
@ -18,9 +18,14 @@
|
||||
}
|
||||
|
||||
.btn {
|
||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
||||
.buttonBackground(@btnBackground, @btnBackgroundHighlight);
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
input:first-of-type:checked ~ .btn {
|
||||
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user