mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
Upgraded to FontAwesome 4.3.0
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{{#if_eq status compare="Completed"}}
|
||||
{{#if_eq trackedDownloadStatus compare="Warning"}}
|
||||
<i class="icon-inbox x-import" title="Force import"></i>
|
||||
<i class="icon-sonarr-import x-import" title="Force import"></i>
|
||||
{{/if_eq}}
|
||||
{{/if_eq}}
|
||||
|
||||
{{#if_eq status compare="Pending"}}
|
||||
<i class="icon-download-alt x-grab" title="Add to download queue (Override Delay Profile)"></i>
|
||||
<i class="icon-nd-delete x-remove" title="Remove pending release"></i>
|
||||
<i class="icon-sonarr-download x-grab" title="Add to download queue (Override Delay Profile)"></i>
|
||||
<i class="icon-sonarr-delete x-remove" title="Remove pending release"></i>
|
||||
{{else}}
|
||||
<i class="icon-nd-delete x-remove" title="Remove from download client"></i>
|
||||
<i class="icon-sonarr-delete x-remove" title="Remove from download client"></i>
|
||||
{{/if_eq}}
|
||||
|
@@ -11,43 +11,43 @@ module.exports = NzbDroneCell.extend({
|
||||
if (this.cellValue) {
|
||||
var status = this.cellValue.get('status').toLowerCase();
|
||||
var trackedDownloadStatus = this.cellValue.has('trackedDownloadStatus') ? this.cellValue.get('trackedDownloadStatus').toLowerCase() : 'ok';
|
||||
var icon = 'icon-nd-downloading';
|
||||
var icon = 'icon-sonarr-downloading';
|
||||
var title = 'Downloading';
|
||||
var itemTitle = this.cellValue.get('title');
|
||||
var content = itemTitle;
|
||||
|
||||
if (status === 'paused') {
|
||||
icon = 'icon-pause';
|
||||
icon = 'icon-sonarr-paused';
|
||||
title = 'Paused';
|
||||
}
|
||||
|
||||
if (status === 'queued') {
|
||||
icon = 'icon-cloud';
|
||||
icon = 'icon-sonarr-queued';
|
||||
title = 'Queued';
|
||||
}
|
||||
|
||||
if (status === 'completed') {
|
||||
icon = 'icon-inbox';
|
||||
icon = 'icon-sonarr-downloaded';
|
||||
title = 'Downloaded';
|
||||
}
|
||||
|
||||
if (status === 'pending') {
|
||||
icon = 'icon-time';
|
||||
icon = 'icon-sonarr-pending';
|
||||
title = 'Pending';
|
||||
}
|
||||
|
||||
if (status === 'failed') {
|
||||
icon = 'icon-nd-download-failed';
|
||||
icon = 'icon-sonarr-download-failed';
|
||||
title = 'Download failed';
|
||||
}
|
||||
|
||||
if (status === 'warning') {
|
||||
icon = 'icon-nd-download-warning';
|
||||
icon = 'icon-sonarr-download-warning';
|
||||
title = 'Download warning: check download client for more details';
|
||||
}
|
||||
|
||||
if (trackedDownloadStatus === 'warning') {
|
||||
icon += ' icon-nd-warning';
|
||||
icon += ' icon-sonarr-warning';
|
||||
|
||||
this.templateFunction = Marionette.TemplateCache.get(this.template);
|
||||
content = this.templateFunction(this.cellValue.toJSON());
|
||||
@@ -55,10 +55,10 @@ module.exports = NzbDroneCell.extend({
|
||||
|
||||
if (trackedDownloadStatus === 'error') {
|
||||
if (status === 'completed') {
|
||||
icon = 'icon-nd-import-failed';
|
||||
icon = 'icon-sonarr-import-failed';
|
||||
title = 'Import failed: ' + itemTitle;
|
||||
} else {
|
||||
icon = 'icon-nd-download-failed';
|
||||
icon = 'icon-sonarr-download-failed';
|
||||
title = 'Download failed';
|
||||
}
|
||||
|
||||
|
@@ -31,7 +31,7 @@
|
||||
</label>
|
||||
|
||||
<span class="help-inline-checkbox">
|
||||
<i class="icon-nd-form-info" title="Do you want to blacklist this release?"/>
|
||||
<i class="icon-sonarr-form-info" title="Do you want to blacklist this release?"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<span class="indicator x-indicator"><i class="icon-spinner icon-spin"></i></span>
|
||||
<span class="indicator x-indicator"><i class="icon-sonarr-spinner fa-spin"></i></span>
|
||||
<button class="btn" data-dismiss="modal">cancel</button>
|
||||
<button class="btn btn-danger x-confirm-remove">remove</button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user