From 36961d6fca420f5fbda213a22ac5c8793675fc2d Mon Sep 17 00:00:00 2001 From: Goutte Date: Fri, 19 Oct 2018 17:11:56 +0200 Subject: [PATCH] Slightly improve the bug report email template. --- web/run.py | 6 ++++-- web/view/about.html.jinja2 | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/run.py b/web/run.py index ff329be..7b50eb3 100755 --- a/web/run.py +++ b/web/run.py @@ -982,10 +982,12 @@ def home(): @app.route("/about.html") def about(): + import uuid increment_hit_counter() return render_view('about.html.jinja2', { - 'authors_emails': [a['mail'] for a in config['authors']], - 'visits': get_hit_counter(), + 'authors_emails': [a['mail'] for a in config['authors']], + 'uuid4': str(uuid.uuid4())[0:3], + 'visits': get_hit_counter(), }) diff --git a/web/view/about.html.jinja2 b/web/view/about.html.jinja2 index f0736a5..5206038 100755 --- a/web/view/about.html.jinja2 +++ b/web/view/about.html.jinja2 @@ -23,7 +23,7 @@ Please send bug reports {# There are no safe ways to embed multiple recipients in a mailto #} {# https://web.archive.org/web/20151116223616/http://www.sightspecific.com/~mosh/WWW_FAQ/multrec.html #} - via email or, + via email or, (if you can), use our issue tracker.

-- libgit2 0.21.2