Commits

Benoît Allard  committed d47859e

web: Add an alert for a build without changesets

  • Participants
  • Parent commits d625630

Comments (0)

Files changed (1)

File web/templates/build.html

       {% endfor %}
     </ul>
   </div>
+  {% else %}
+  <div class="alert alert-error">
+    <h4 class="alert-heading">Important!</h4>
+    <p>There is no changeset informations related to this build. It might not be easy to reproduce it.</p>
+    <p><a href="{{ url_for('edit.build') }}" class="btn btn-danger">Edit a new build</a></p>
+  </div>
   {% endif %}
 </div>
 {% endblock %}