Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
3365b65d
Unverified
Commit
3365b65d
authored
6 years ago
by
miigotu
Browse files
Options
Downloads
Patches
Plain Diff
Fix red text warnings on provider settings
parent
0e58d51a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gui/slick/views/config_providers.mako
+18
-6
18 additions, 6 deletions
gui/slick/views/config_providers.mako
with
18 additions
and
6 deletions
gui/slick/views/config_providers.mako
+
18
−
6
View file @
3365b65d
...
@@ -184,7 +184,9 @@
...
@@ -184,7 +184,9 @@
${('disabled', '')[curNewznabProvider.can_daily]}
${('disabled', '')[curNewznabProvider.can_daily]}
/>
/>
<label for="${curNewznabProvider.get_id("_enable_daily")}">${_('enable provider to perform daily searches.')}</label>
<label for="${curNewznabProvider.get_id("_enable_daily")}">${_('enable provider to perform daily searches.')}</label>
${('<span class="red-text"></span>'.format(_('Daily search is currently not working on this provider')), '')[curNewznabProvider.can_daily]}
% if not curNewznabProvider.can_daily:
<p class="note"><span class="red-text">${_('Daily search is currently not working on this provider')}</span></p>
% endif
</div>
</div>
</div>
</div>
% endif
% endif
...
@@ -201,7 +203,9 @@
...
@@ -201,7 +203,9 @@
${('disabled', '')[curNewznabProvider.can_backlog]}
${('disabled', '')[curNewznabProvider.can_backlog]}
/>
/>
<label for="${curNewznabProvider.get_id("_enable_backlog")}">${_('enable provider to perform backlog searches.')}</label>
<label for="${curNewznabProvider.get_id("_enable_backlog")}">${_('enable provider to perform backlog searches.')}</label>
${('<span class="red-text"></span>'.format(_('Backlog search is currently not working on this provider')), '')[curNewznabProvider.can_backlog]}
% if not curNewznabProvider.can_backlog:
<p class="note"><span class="red-text">${_('Backlog search is currently not working on this provider')}</span></p>
% endif
</div>
</div>
</div>
</div>
% endif
% endif
...
@@ -293,7 +297,9 @@
...
@@ -293,7 +297,9 @@
${('disabled', '')[curNzbProvider.can_daily]}
${('disabled', '')[curNzbProvider.can_daily]}
/>
/>
<label for="${curNzbProvider.get_id("_enable_daily")}">${_('enable provider to perform daily searches.')}</label>
<label for="${curNzbProvider.get_id("_enable_daily")}">${_('enable provider to perform daily searches.')}</label>
${('<span class="red-text"></span>'.format(_('Daily search is currently not working on this provider')), '')[curNzbProvider.can_daily]}
% if not curNzbProvider.can_daily:
<p class="note"><span class="red-text">${_('Daily search is currently not working on this provider')}</span></p>
% endif
</div>
</div>
</div>
</div>
% endif
% endif
...
@@ -310,7 +316,9 @@
...
@@ -310,7 +316,9 @@
${('disabled', ' ')[curNzbProvider.can_backlog]}
${('disabled', ' ')[curNzbProvider.can_backlog]}
/>
/>
<label for="${curNzbProvider.get_id("_enable_backlog")}">${_('enable provider to perform backlog searches.')}</label>
<label for="${curNzbProvider.get_id("_enable_backlog")}">${_('enable provider to perform backlog searches.')}</label>
${('<span class="red-text"></span>'.format(_('Backlog search is currently not working on this provider')), '')[curNzbProvider.can_backlog]}
% if not curNzbProvider.can_backlog:
<p class="note"><span class="red-text">${_('Backlog search is currently not working on this provider')}</span></p>
% endif
</div>
</div>
</div>
</div>
% endif
% endif
...
@@ -648,7 +656,9 @@
...
@@ -648,7 +656,9 @@
${('disabled', ' ')[curTorrentProvider.can_daily]}
${('disabled', ' ')[curTorrentProvider.can_daily]}
/>
/>
<label for="${curTorrentProvider.get_id("_enable_daily")}">${_('enable provider to perform daily searches.')}</label>
<label for="${curTorrentProvider.get_id("_enable_daily")}">${_('enable provider to perform daily searches.')}</label>
${('<span class="red-text"></span>'.format(_('Daily search is currently not working on this provider')), '')[curTorrentProvider.can_daily]}
% if not curTorrentProvider.can_daily:
<p class="note"><span class="red-text">${_('Daily search is currently not working on this provider')}</span></p>
% endif
</div>
</div>
</div>
</div>
% endif
% endif
...
@@ -666,7 +676,9 @@
...
@@ -666,7 +676,9 @@
/>
/>
<label for="${curTorrentProvider.get_id("_enable_backlog")}">${_('enable provider to perform backlog searches.')}</label>
<label for="${curTorrentProvider.get_id("_enable_backlog")}">${_('enable provider to perform backlog searches.')}</label>
${('<span class="red-text"></span>'.format(_('Backlog search is currently not working on this provider')), '')[curTorrentProvider.can_backlog]}
% if not curTorrentProvider.can_backlog:
<p class="note"><span class="red-text">${_('Backlog search is currently not working on this provider')}</span></p>
% endif
</div>
</div>
</div>
</div>
% endif
% endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment