Skip to content

Commit b2bd677

Browse files
committed
Added a link to open new issue with prefilled details
1 parent 0e1112f commit b2bd677

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

readthedocs/templates/builds/build_detail.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
{% extends "projects/base_project.html" %}
23

34
{% load i18n %}
@@ -161,6 +162,11 @@ <h3>{% trans "Error" %}</h3>
161162
data-bind="text: error">
162163
{{ build.error }}
163164
</p>
165+
<p>
166+
{% blocktrans with build_id=build.pk proj_name=build.project.name build_path=request.get_full_path user_name=request.user %}
167+
Report any build issues <a href="https://github.com/rtfd/readthedocs.org/issues/new?title=Build%20error%20with%20build%20id%20%23{{ build_id }}&body=%23%23%20Details%0A%0A*%20Project%20Url%3A%20https://readthedocs.org/projects/{{ proj_name }}/%0A*%20Build%20URL%20(if%20applicable)%3A%20https://readthedocs.org{{ build_path }}%0A*%20Read%20the%20Docs%20username%20(if%20applicable)%3A%20{{ user_name }}%0A%0A%23%23%20Expected%20Result%0A%0A*%20A%20description%20of%20what%20you%20wanted%20to%20happen*%0A%0A%23%23%20Actual%20Result%0A%0A*A%20description%20of%20what%20actually%20happened*%0A">here</a>.
168+
{% endblocktrans %}
169+
</p>
164170
</div>
165171

166172
<div id="build-commands"
@@ -196,4 +202,4 @@ <h3>{% trans "Error" %}</h3>
196202
{% endif %}
197203

198204
</div>
199-
{% endblock %}
205+
{% endblock %}

0 commit comments

Comments
 (0)