diff --git a/readthedocs/templates/builds/build_detail.html b/readthedocs/templates/builds/build_detail.html index 7a66007c0c6..b07a252a479 100644 --- a/readthedocs/templates/builds/build_detail.html +++ b/readthedocs/templates/builds/build_detail.html @@ -92,28 +92,27 @@ -
{% if not build.success and build.commands.count < 4 %} -

- - {% url 'wipe_version' build.version.project.slug build.version.slug as wipe_url %} - {% blocktrans %} - Having trouble with your build environment? - Try reseting it. - {% endblocktrans %} -

- {% endif %} - - {% if not build.success and "setup.py install" in build.commands.last.output %} -

- {% url 'projects_advanced' build.version.project.slug as advanced_url %} - {% blocktrans %} - Don't want setup.py install called? - Change the Install Project setting in your advanced settings. - {% endblocktrans %} -

+
+

+ {% url 'wipe_version' build.version.project.slug build.version.slug as wipe_url %} + {% blocktrans %} + Having trouble with your build environment? + Try reseting it. + {% endblocktrans %} +

+
+ {% elif not build.success and "setup.py install" in build.commands.last.output %} +
+

+ {% url 'projects_advanced' build.version.project.slug as advanced_url %} + {% blocktrans %} + Don't want setup.py install called? + Change the Install Project setting in your advanced settings. + {% endblocktrans %} +

+
{% endif %} -
{% if build.output %} {# If we have build output, this is an old build #}