|
21 | 21 | {% endblock %} |
22 | 22 | {% block main %} |
23 | 23 | {%- set android_products = ['Firefox for Android', 'GeckoView', 'Focus'] -%} |
| 24 | + |
24 | 25 | {% for dataset in nightly_pairs %} |
25 | 26 | <a href="#buildid_{{ dataset.buildid }}" name="buildid_{{ dataset.buildid }}" class="buildid pe-2 pt-2 text-light float-start bg-transparent">#</a> |
26 | 27 | <ul class="list-group list-group-horizontal"> |
27 | | - {% if fallback_nightly %} |
28 | | - <li class="list-group-item bg-warning"></li> |
29 | | - {% endif %} |
| 28 | + {% if fallback_nightly %}<li class="list-group-item bg-warning"></li>{% endif %} |
| 29 | + |
30 | 30 | <li class="list-group-item bg-info border-0"> |
31 | 31 | <a href="/changelog/?from={{ dataset.prev_changeset }}&to={{ dataset.changeset }}&hg2git&files" class="text-light" title="Nightly {{ dataset.version }}">{{ dataset.buildid }}</a> |
| 32 | + </li> |
| 33 | + |
32 | 34 | <li class="list-group-item text-light bg-secondary border-0"> |
33 | 35 | <a href="https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange={{ dataset.prev_changeset }}&tochange={{ dataset.changeset }}" class="text-light">Changelog</a> |
34 | 36 | </li> |
| 37 | + |
35 | 38 | <li class="list-group-item text-light bg-success border-0"> |
36 | 39 | <a href="{{ bug_list[dataset.buildid].url }}" class="text-light">Patches from {{ bug_list[dataset.buildid].count }} bugs</a> |
37 | 40 | </li> |
| 41 | + |
38 | 42 | <li class="list-group-item text-light bg-primary border-0"> |
39 | 43 | <a class="text-light" data-bs-toggle="collapse" aria-expanded="false" href="#collapse{{ dataset.buildid }}"> |
40 | 44 | <span class="text-collapsed">Show list of bugs</span> |
41 | 45 | <span class="text-expanded">Hide list of bugs</span> |
42 | 46 | </a> |
43 | 47 | </li> |
| 48 | + |
44 | 49 | <li class="list-group-item text-light bg-danger border-0"> |
45 | 50 | <a href="https://crash-stats.mozilla.org/api/SuperSearch/?build_id={{ dataset.buildid }}&_facets=signature&product=Firefox" class="text-light">{{build_crashes[dataset.buildid] }} crashes</a> |
46 | 51 | </li> |
| 52 | + {% if dataset.version != dataset.prev_version %} |
| 53 | + <li class="list-group-item text-dark bg-warning-subtle border-0"> |
| 54 | + New {{ dataset.version|split('.')|first }} cycle |
| 55 | + </li> |
| 56 | + {% endif %} |
47 | 57 | </ul> |
48 | 58 | <p></p> |
49 | 59 | <div class="collapse" id="collapse{{ dataset.buildid }}"> |
|
0 commit comments