diff --git a/test/buildbot/master/templates/change.html b/test/buildbot/master/templates/change.html new file mode 100644 index 000000000..984c40bc4 --- /dev/null +++ b/test/buildbot/master/templates/change.html @@ -0,0 +1,15 @@ +{% import 'macros/forms.html' as forms %} +{% from "macros/change.html" import change with context %} + +{% extends "layouts/base.html" %} +{% block content %} + +

{{ pageTitle }}

+ +{{ change(c) }} + +{% if authz.advertiseAction('stopChange') %} +

Cancel Builds For Change:

+ {{ forms.stop_change_builds("/builders/_all/stopchangeall", c.number, authz) }} +{% endif %} +{% endblock %} diff --git a/test/buildbot/master/templates/macros/change.html b/test/buildbot/master/templates/macros/change.html index a288d09cf..b62bdafc1 100644 --- a/test/buildbot/master/templates/macros/change.html +++ b/test/buildbot/master/templates/macros/change.html @@ -1,46 +1,54 @@ {% macro change(c) %} - - {% set row_class=cycler('alt','') %} - +
+ + - + + {% if c.repository %} - + - {% endif %} {% if c.project %} - + {% endif %} + + {% if c.project %} + - {% endif %} {% if c.branch %} - + {% endif %} + + {% if c.branch %} + - {% endif %} {% if c.rev %} - + {% endif %} + + {% if c.rev %} + {% endif %} +
Changed by {{ c.who|email }}
Changed at {{ c.at }}
Repository {{ c.repository|repolink }}
Project {{ c.project|projectlink }}
Branch {{ c.branch|e }}
Revision {%- if c.revlink -%}{{ c.rev|e }} {%- else -%}{{ c.rev|revlink(c.repository) }} {%- endif -%}
{% if c.comments %}

Comments

-
{{ c.comments|changecomment(c.project) }}
+
{{ c.comments|changecomment(c.project) }}
{% endif %} -

Changed files

+

Changed files