| OLD | NEW |
| 1 {% extends "layout.html" %} | 1 {% extends "layout.html" %} |
| 2 {% import 'forms.html' as forms %} | 2 {% import 'forms.html' as forms %} |
| 3 {% from "change_macros.html" import change with context %} | 3 {% from "change_macros.html" import change with context %} |
| 4 | 4 |
| 5 {% block content %} | 5 {% block content %} |
| 6 | 6 |
| 7 <h1> | 7 <h1> |
| 8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a> | 8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a> |
| 9 Build #{{ b.getNumber() }} | 9 Build #{{ b.getNumber() }} |
| 10 </h1> | 10 </h1> |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 <div class="{{ s.css_class }} result"> | 128 <div class="{{ s.css_class }} result"> |
| 129 <a href="{{ s.link }}">{{ s.name }}</a> | 129 <a href="{{ s.link }}">{{ s.name }}</a> |
| 130 {{ s.text }} <span style="float:right">{{ '( ' + s.time_to_run + ' )'
if s.time_to_run else '' }}</span> | 130 {{ s.text }} <span style="float:right">{{ '( ' + s.time_to_run + ' )'
if s.time_to_run else '' }}</span> |
| 131 </div> | 131 </div> |
| 132 | 132 |
| 133 <ul> | 133 <ul> |
| 134 {% set item_class = cycler('alt', '') %} | 134 {% set item_class = cycler('alt', '') %} |
| 135 {% for l in s.logs %} | 135 {% for l in s.logs %} |
| 136 <li class="{{ item_class.next() }}"> | 136 <li class="{{ item_class.next() }}"> |
| 137 <a href="{{ l.link }}">{{ l.name }}</a> | 137 {% if l.link %} |
| 138 <a href="{{ l.link }}">{{ l.name }}</a> |
| 139 {% else %} |
| 140 <span>{{ l.name }}</span> |
| 141 {% endif %} |
| 138 {% if s.aliases %} | 142 {% if s.aliases %} |
| 139 {% for a in s.aliases.get(l.name, ()) %} | 143 {% for a in s.aliases.get(l.name, ()) %} |
| 140 <a href="{{ a.url }}">[{{ a.text }}]</a> | 144 <a href="{{ a.url }}">[{{ a.text }}]</a> |
| 141 {% endfor %} | 145 {% endfor %} |
| 142 {% endif %} | 146 {% endif %} |
| 143 </li> | 147 </li> |
| 144 {% else %} | 148 {% else %} |
| 145 <li class="{{ item_class.next() }}">- no logs -</li> | 149 <li class="{{ item_class.next() }}">- no logs -</li> |
| 146 {% endfor %} | 150 {% endfor %} |
| 147 | 151 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 {{ change(c.asDict()) }} | 237 {{ change(c.asDict()) }} |
| 234 </li> | 238 </li> |
| 235 {% else %} | 239 {% else %} |
| 236 <li>no changes</li> | 240 <li>no changes</li> |
| 237 {% endfor %} | 241 {% endfor %} |
| 238 </ol> | 242 </ol> |
| 239 </div> | 243 </div> |
| 240 {% endif %} | 244 {% endif %} |
| 241 | 245 |
| 242 {% endblock %} | 246 {% endblock %} |
| OLD | NEW |