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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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() }}"> | 150 <li class="{{ item_class.next() }}"> |
151 <a href="{{ l.link }}">{{ l.name }}</a> | 151 {% if l.link %} |
152 <a href="{{ l.link }}">{{ l.name }}</a> | |
153 {% else %} | |
154 <span>{{ l.name }}</span> | |
dnj
2016/04/13 15:39:59
(Will never be hit for scenario (2), since waterfa
| |
155 {% endif %} | |
152 {% if s.aliases %} | 156 {% if s.aliases %} |
153 {% for a in s.aliases.get(l.name, ()) %} | 157 {% for a in s.aliases.get(l.name, ()) %} |
154 <a href="{{ a.url }}">[{{ a.text }}]</a> | 158 <a href="{{ a.url }}">[{{ a.text }}]</a> |
155 {% endfor %} | 159 {% endfor %} |
156 {% endif %} | 160 {% endif %} |
157 </li> | 161 </li> |
158 {% else %} | 162 {% else %} |
159 <li class="{{ item_class.next() }}">- no logs -</li> | 163 <li class="{{ item_class.next() }}">- no logs -</li> |
160 {% endfor %} | 164 {% endfor %} |
161 | 165 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 {{ change(c.asDict()) }} | 258 {{ change(c.asDict()) }} |
255 </li> | 259 </li> |
256 {% else %} | 260 {% else %} |
257 <li>no changes</li> | 261 <li>no changes</li> |
258 {% endfor %} | 262 {% endfor %} |
259 </ol> | 263 </ol> |
260 </div> | 264 </div> |
261 {% endif %} | 265 {% endif %} |
262 | 266 |
263 {% endblock %} | 267 {% endblock %} |
OLD | NEW |