Skip to content

Commit

Permalink
Added a link to open new issue with prefilled details
Browse files Browse the repository at this point in the history
  • Loading branch information
bansalnitish committed Feb 26, 2018
1 parent 0e1112f commit b2bd677
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion readthedocs/templates/builds/build_detail.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

{% extends "projects/base_project.html" %}

{% load i18n %}
Expand Down Expand Up @@ -161,6 +162,11 @@ <h3>{% trans "Error" %}</h3>
data-bind="text: error">
{{ build.error }}
</p>
<p>
{% blocktrans with build_id=build.pk proj_name=build.project.name build_path=request.get_full_path user_name=request.user %}
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>.
{% endblocktrans %}
</p>
</div>

<div id="build-commands"
Expand Down Expand Up @@ -196,4 +202,4 @@ <h3>{% trans "Error" %}</h3>
{% endif %}

</div>
{% endblock %}
{% endblock %}

0 comments on commit b2bd677

Please sign in to comment.