scripts/abint: add a footer showing when the report was generated
PATCH 1/1 scripts/abint: add a footer showing when the report was generated
From: Ross Burton <[email protected]>
--- scripts/abint/abint.html.j2 | 6 ++++++ scripts/abint/abint.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)
scripts/abint/abint.html.j2 +6 -0
@@ -76,6 +76,12 @@ </tbody> </table> </div> + + <div class="container"> + <footer class="py-4"> + <p class="text-center text-body-secondary"><small>Generated {{now.format('YYYY-MM-DD HH:mm:ssZZ')}}.</small></p> + </footer> + </div> </body> </html>
scripts/abint/abint.py +1 -1
@@ -125,7 +125,7 @@ def last_seen_report(data): template = env.get_template("abint.html.j2") with open("index.html", "w") as f: start = arrow.utcnow().shift(weeks=-100).floor("week") - f.write(template.render(bugs=data, start=start)) + f.write(template.render(bugs=data, start=start, now=arrow.now())) data = get_data()
Signature · 1 line
2.34.1