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