summaryrefslogtreecommitdiff
path: root/searx/templates/simple/new_issue.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-07-03 11:03:20 +0200
committerAlexandre Flament <alex@al-f.net>2022-07-08 09:04:57 +0200
commiteb489c45ea74d10cfca4eefbca8c8da027f73963 (patch)
treeec748cdd69903d700ac3e73c7cb3cae5dd8dcd60 /searx/templates/simple/new_issue.html
parentcf01f9e603ebbf3997212dde1daff7510d2d7118 (diff)
downloadsearxng-eb489c45ea74d10cfca4eefbca8c8da027f73963.tar.gz
searxng-eb489c45ea74d10cfca4eefbca8c8da027f73963.zip
Submit GH bug: ask the user to do some checks before submitting a new issue
Diffstat (limited to 'searx/templates/simple/new_issue.html')
-rw-r--r--searx/templates/simple/new_issue.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/searx/templates/simple/new_issue.html b/searx/templates/simple/new_issue.html
index 55dbefe60..91f4f13b5 100644
--- a/searx/templates/simple/new_issue.html
+++ b/searx/templates/simple/new_issue.html
@@ -60,6 +60,16 @@ or manually by executing the searx/webapp.py file? -->
{{-'\n '}}* {{ test_name }}: {% for result in results%}`{{ result }}`,{% endfor -%}
{%- endfor -%}
</textarea>
- <button type="submit" class="github-issue-button" title="{{ get_setting('brand.new_issue_url') }}">{{ _('Submit a new issue on Github including the above information') }}</button>
+ <input type="checkbox" id="step1">
+ <label for="step1">{{ _('Start submiting a new issue on GitHub') }}</label>
+ <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>
+ </div>
+ <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>
+ <div class="step2 step_content">
+ <p>{{ _('If this is a public instance, please specify the URL in the bug report') }}</p>
+ <button type="submit" class="github-issue-button" title="{{ get_setting('brand.new_issue_url') }}">{{ _('Submit a new issue on Github including the above information') }}</button>
+ </div>
</form>
{% endmacro %}