Added message to download failed history events

Fixed: NZB info url on history details
pull/4/head
Mark McDowall 11 years ago
parent d634dd1e5c
commit 4578adf1c0

@ -3,7 +3,9 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>
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}}
</h3>
</div>
@ -27,11 +29,20 @@
{{#if nzbInfoUrl}}
<dt>Info</dt>
<dd><a href="{{infoUrl}}">{{infoUrl}}o</a></dd>
<dd><a href="{{nzbInfoUrl}}">{{nzbInfoUrl}}</a></dd>
{{/if}}
{{/with}}
</dl>
{{else}}
{{/if_eq}}
{{#if_eq eventType compare="downloadFailed"}}
<dl class="dl-horizontal">
{{#with data}}
<dt>Message</dt>
<dd>{{message}}</dd>
{{/with}}
</dl>
{{/if_eq}}
{{#if_eq eventType compare="downloadFolderImported"}}
{{#if data}}
{{#with data}}
<dl class="dl-horizontal">

Loading…
Cancel
Save