Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 3365b65d authored by miigotu's avatar miigotu
Browse files

Fix red text warnings on provider settings

parent 0e58d51a
Branches
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment