Merge pull request #1489 from tiekoetter/allow-brand-in-issue-check

[mod] allow brand.issue_url to overwrite the step1 url
This commit is contained in:
Markus Heiser 2022-07-10 21:14:00 +02:00 committed by GitHub
commit b6d59decda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ or manually by executing the searx/webapp.py file? -->
<input type="checkbox" id="step1"> <input type="checkbox" id="step1">
<label for="step1">{{ _('Start submiting a new issue on GitHub') }}</label> <label for="step1">{{ _('Start submiting a new issue on GitHub') }}</label>
<div class="step1 step_content"> <div class="step1 step_content">
<p><a href="https://github.com/searxng/searxng/issues?q=is%3Aissue+Bug:%20{{ engine_name }}" target="_blank" rel="noreferrer noreferrer">{{ _('Please check for existing bugs about this engine on GitHub') }}</a></p> <p><a href="{{ get_setting('brand.issue_url') }}?q=is%3Aissue+Bug:%20{{ engine_name }}" target="_blank" rel="noreferrer noreferrer">{{ _('Please check for existing bugs about this engine on GitHub') }}</a></p>
</div> </div>
<input class="step1 step1_delay" type="checkbox" id="step2"> <input class="step1 step1_delay" type="checkbox" id="step2">
<label class="step1 step1_delay" for="step2" >{{ _('I confirm there is no existing bug about the issue I encounter') }}</label> <label class="step1 step1_delay" for="step2" >{{ _('I confirm there is no existing bug about the issue I encounter') }}</label>