Revised History Details labels.

This commit is contained in:
Taloth Saldono 2014-02-15 11:56:28 +01:00 committed by Taloth
parent fe02467a71
commit 73c3cca69c
1 changed files with 15 additions and 12 deletions

View File

@ -13,22 +13,22 @@
{{#if_eq eventType compare="grabbed"}} {{#if_eq eventType compare="grabbed"}}
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Name</dt> <dt>Name:</dt>
<dd>{{sourceTitle}}</dd> <dd>{{sourceTitle}}</dd>
{{#with data}} {{#with data}}
{{#if indexer}} {{#if indexer}}
<dt>Indexer</dt> <dt>Indexer:</dt>
<dd>{{indexer}}</dd> <dd>{{indexer}}</dd>
{{/if}} {{/if}}
{{#if releaseGroup}} {{#if releaseGroup}}
<dt>Release Group</dt> <dt>Release Group:</dt>
<dd>{{releaseGroup}}</dd> <dd>{{releaseGroup}}</dd>
{{/if}} {{/if}}
{{#if nzbInfoUrl}} {{#if nzbInfoUrl}}
<dt>Info</dt> <dt>Info:</dt>
<dd><a href="{{nzbInfoUrl}}">{{nzbInfoUrl}}</a></dd> <dd><a href="{{nzbInfoUrl}}">{{nzbInfoUrl}}</a></dd>
{{/if}} {{/if}}
{{/with}} {{/with}}
@ -36,19 +36,25 @@
{{/if_eq}} {{/if_eq}}
{{#if_eq eventType compare="downloadFailed"}} {{#if_eq eventType compare="downloadFailed"}}
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>Source Title</dt>
<dt>Name:</dt>
<dd>{{sourceTitle}}</dd> <dd>{{sourceTitle}}</dd>
{{#with data}} {{#with data}}
<dt>Message</dt> <dt>Message:</dt>
<dd>{{message}}</dd> <dd>{{message}}</dd>
{{/with}} {{/with}}
</dl> </dl>
{{/if_eq}} {{/if_eq}}
{{#if_eq eventType compare="downloadFolderImported"}} {{#if_eq eventType compare="downloadFolderImported"}}
{{#if data}}
{{#with data}}
<dl class="dl-horizontal"> <dl class="dl-horizontal">
{{#if sourceTitle}}
<dt>Name:</dt>
<dd>{{sourceTitle}}</dd>
{{/if}}
{{#with data}}
{{#if droppedPath}} {{#if droppedPath}}
<dt>Source:</dt> <dt>Source:</dt>
<dd>{{droppedPath}}</dd> <dd>{{droppedPath}}</dd>
@ -58,11 +64,8 @@
<dt>Imported To:</dt> <dt>Imported To:</dt>
<dd>{{importedPath}}</dd> <dd>{{importedPath}}</dd>
{{/if}} {{/if}}
</dl>
{{/with}} {{/with}}
{{else}} </dl>
No details available
{{/if}}
{{/if_eq}} {{/if_eq}}
</div> </div>
<div class="modal-footer"> <div class="modal-footer">