1
0
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:
Mark McDowall 2013-11-21 18:29:49 -08:00
parent 3d23ac9234
commit d9b7dd257e
2 changed files with 8 additions and 3 deletions

View File

@ -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, () =>
{

View File

@ -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);
}