From 1905b66a66c3a5a7e827476e7e1732597a990106 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 9 Jul 2013 19:57:21 -0700 Subject: [PATCH] Episode Details episode number is templated --- NzbDrone.ncrunchsolution | 1 - UI/Episode/LayoutTemplate.html | 4 ++-- UI/Handlebars/Helpers/EpisodeNumber.js | 18 ++++++++++++++++++ UI/Handlebars/backbone.marionette.templates.js | 1 + 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 UI/Handlebars/Helpers/EpisodeNumber.js diff --git a/NzbDrone.ncrunchsolution b/NzbDrone.ncrunchsolution index 969da6dd4..c725a019c 100644 --- a/NzbDrone.ncrunchsolution +++ b/NzbDrone.ncrunchsolution @@ -2,7 +2,6 @@ 1 True true - true UseDynamicAnalysis Disabled Disabled diff --git a/UI/Episode/LayoutTemplate.html b/UI/Episode/LayoutTemplate.html index f46581cdd..dcebc8662 100644 --- a/UI/Episode/LayoutTemplate.html +++ b/UI/Episode/LayoutTemplate.html @@ -3,9 +3,9 @@ {{#if episodeTitle}} -

{{episodeTitle}} - {{seasonNumber}}x{{paddedEpisodeNumber}}

+

{{episodeTitle}} - {{episodeNumberHelper}}

{{else}} -

{{title}} - {{seasonNumber}}x{{paddedEpisodeNumber}}

+

{{title}} - {{episodeNumberHelper}}

{{/if}}