diff --git a/template.html b/template.html index ac58d244414..fed8f4655f6 100644 --- a/template.html +++ b/template.html @@ -33,16 +33,21 @@

{{ current_target }}

- {{#each title as |t|}} + + {{#each title as |t|}} - {{/each}} - + {{/each}} {{#each packages_availability as |row|}} + {{#if row.last_available}} + + {{else}} + + {{/if}} {{#each row.availability_list as |status|}} {{#if status}} @@ -50,11 +55,6 @@

{{ current_target }}

{{/if}} {{/each}} - {{#if row.last_available}} - - {{else}} - - {{/if}} {{/each}} diff --git a/web/src/main.rs b/web/src/main.rs index 3dc842192e0..39c56248a60 100644 --- a/web/src/main.rs +++ b/web/src/main.rs @@ -90,6 +90,7 @@ fn generate_html( .with_context(|| format!("Can't create file [{}]", output_path))?; let table = Table::builder(&data, target) + .first_cell(&"Last available") .dates(dates) .additional(&additional) .build();
{{t}}Last available
{{row.package_name}}{{row.last_available}}N/Apresent missing{{row.last_available}}N/A