From c617e5e84bbab2a4ed947c61a5f1defb985499a0 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 3 May 2021 20:51:29 +0700 Subject: Add "here" links next to snapshot names. --- scripts/list-snapshots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/list-snapshots.py b/scripts/list-snapshots.py index b3bd98e..4079f2c 100755 --- a/scripts/list-snapshots.py +++ b/scripts/list-snapshots.py @@ -67,8 +67,8 @@ for name in snapshot_names: snapshots.sort(reverse=True, key=cmp_to_key(lambda l, r: compare(l["name"], r["name"]))) tmpl = jinja2.Template(""" -{% for s in snapshots %} -

{{s.name}}

+{% for s in snapshots | natural_sort %} + #

{{s.name}}