| 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 <div class="bbp_placeholder" | 10 <div class="bbp_placeholder" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 id="{{ b.getProperty('mastername') }}:{{ b.getBuilder().getName() }}:{{ | 140 id="{{ b.getProperty('mastername') }}:{{ b.getBuilder().getName() }}:{{ |
| 141 b.getNumber() }}:{{ s.name|replace('/', '_') }}"></div> | 141 b.getNumber() }}:{{ s.name|replace('/', '_') }}"></div> |
| 142 <a href="{{ s.link }}">{{ s.name }}</a> | 142 <a href="{{ s.link }}">{{ s.name }}</a> |
| 143 {% set previous_name = s.name %} | 143 {% set previous_name = s.name %} |
| 144 {{ s.text }} <span style="float:right">{{ '( ' + s.time_to_run + ' )' i
f s.time_to_run else '' }}</span> | 144 {{ s.text }} <span style="float:right">{{ '( ' + s.time_to_run + ' )' i
f s.time_to_run else '' }}</span> |
| 145 </div> | 145 </div> |
| 146 | 146 |
| 147 <ul> | 147 <ul> |
| 148 {% set item_class = cycler('alt', '') %} | 148 {% set item_class = cycler('alt', '') %} |
| 149 {% for l in s.logs %} | 149 {% for l in s.logs %} |
| 150 <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}</a
></li> | 150 <li class="{{ item_class.next() }}"> |
| 151 <a href="{{ l.link }}">{{ l.name }}</a> |
| 152 {% if s.aliases %} |
| 153 {% for a in s.aliases.get(l.name, ()) %} |
| 154 <a href="{{ a.url }}">[{{ a.text }}]</a> |
| 155 {% endfor %} |
| 156 {% endif %} |
| 157 </li> |
| 151 {% else %} | 158 {% else %} |
| 152 <li class="{{ item_class.next() }}">- no logs -</li> | 159 <li class="{{ item_class.next() }}">- no logs -</li> |
| 153 {% endfor %} | 160 {% endfor %} |
| 154 | 161 |
| 155 {% for u in s.urls %} | 162 {% for u in s.urls %} |
| 156 <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname }}<
/a></li> | 163 <li class="{{ item_class.next() }}"> |
| 164 <a href="{{ u.url }}">{{ u.logname }}</a> |
| 165 {% if s.aliases %} |
| 166 {% for a in s.aliases.get(u.logname, ()) %} |
| 167 <a href="{{ a.url }}">[{{ a.text }}]</a> |
| 168 {% endfor %} |
| 169 {% endif %} |
| 170 </li> |
| 157 {% endfor %} | 171 {% endfor %} |
| 158 </ul> | 172 </ul> |
| 159 {% endfor %} | 173 {% endfor %} |
| 160 | 174 |
| 161 {# Close out all open indentation sections. #} | 175 {# Close out all open indentation sections. #} |
| 162 {% for _ in range(-1, nest_level) %} | 176 {% for _ in range(-1, nest_level) %} |
| 163 </li></ol> | 177 </li></ol> |
| 164 {% endfor %} | 178 {% endfor %} |
| 165 | 179 |
| 166 </div> | 180 </div> |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 {{ change(c.asDict()) }} | 254 {{ change(c.asDict()) }} |
| 241 </li> | 255 </li> |
| 242 {% else %} | 256 {% else %} |
| 243 <li>no changes</li> | 257 <li>no changes</li> |
| 244 {% endfor %} | 258 {% endfor %} |
| 245 </ol> | 259 </ol> |
| 246 </div> | 260 </div> |
| 247 {% endif %} | 261 {% endif %} |
| 248 | 262 |
| 249 {% endblock %} | 263 {% endblock %} |
| OLD | NEW |