Skip to content

Commit

Permalink
Nightly page: Android icon not displayed when needed in Outstanding b…
Browse files Browse the repository at this point in the history
…ugs table
  • Loading branch information
pascalchevrel committed Nov 7, 2024
1 parent 991a3ff commit ca4dbc1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/views/templates/nightly.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@
{%- set alert_title = '' -%}
{%- set alert_row = '' -%}
{%- set pill_level = 'text-bg-light border' -%}
{%- set product = '' -%}

{%- if details.type == 'enhancement' -%}
{%- set alert_link =' text-success fw-bold' -%}
{%- set alert_title =' title="Bug marked as Enhancement"' -%}
{%- endif -%}
{%- if details.product == 'Fenix' or details.product == 'GeckoView' or details.product == 'Focus' -%}
{%- set product = 'android' -%}
{%- endif -%}
{%- if bug_list_karma[details.id].score > 8 -%}
{%- set pill_level ='text-bg-warning' -%}
{%- endif -%}
Expand All @@ -80,7 +85,7 @@
{%- set pill_level ='text-bg-danger' -%}
{%- endif -%}
<tr class="small {{ alert_row }}">
<td><a href="https://bugzilla.mozilla.org/{{ details.id }}" class="text-nowrap bug-link link-primary {{ alert_link }}" {{ alert_title|raw }}>{{ details.id }}</a></td>
<td class="{{ product }}"><a href="https://bugzilla.mozilla.org/{{ details.id }}" class="text-nowrap bug-link link-primary {{ alert_link }}" {{ alert_title|raw }}>{{ details.id }}</a></td>
<td><a href="https://bugzilla.mozilla.org/{{ details.id }}" class="bug-link link-dark {{ alert_link }}">{{ details.component }}</a></td>
<td class="text-center {{ alert_row }}">
<span class="badge rounded-pill {{ pill_level }} score-pill">{{ bug_list_karma[details.id].score }}</span>
Expand Down

0 comments on commit ca4dbc1

Please sign in to comment.