From 4578adf1c034d6522d71932391484e67b1cc93a9 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 28 Oct 2013 17:27:28 -0700 Subject: [PATCH] Added message to download failed history events Fixed: NZB info url on history details --- .../Details/HistoryDetailsViewTemplate.html | 37 ++++++++++++------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/src/UI/History/Details/HistoryDetailsViewTemplate.html b/src/UI/History/Details/HistoryDetailsViewTemplate.html index 2dd83ed5e..0dc280370 100644 --- a/src/UI/History/Details/HistoryDetailsViewTemplate.html +++ b/src/UI/History/Details/HistoryDetailsViewTemplate.html @@ -3,7 +3,9 @@

- Details + {{#if_eq eventType compare="grabbed"}}Grabbed{{/if_eq}} + {{#if_eq eventType compare="downloadFailed"}}Download Failed{{/if_eq}} + {{#if_eq eventType compare="downloadFolderImported"}}Episode Imported{{/if_eq}}

@@ -27,24 +29,33 @@ {{#if nzbInfoUrl}}
Info
-
{{infoUrl}}o
+
{{nzbInfoUrl}}
{{/if}} {{/with}} - {{else}} + {{/if_eq}} + {{#if_eq eventType compare="downloadFailed"}} +
+ {{#with data}} +
Message
+
{{message}}
+ {{/with}} +
+ {{/if_eq}} + {{#if_eq eventType compare="downloadFolderImported"}} {{#if data}} {{#with data}} -
- {{#if droppedPath}} -
Source:
-
{{droppedPath}}
- {{/if}} +
+ {{#if droppedPath}} +
Source:
+
{{droppedPath}}
+ {{/if}} - {{#if importedPath}} -
Imported To:
-
{{importedPath}}
- {{/if}} -
+ {{#if importedPath}} +
Imported To:
+
{{importedPath}}
+ {{/if}} +
{{/with}} {{else}} No details available