Fix indentation

This commit is contained in:
Gunter Labes 2024-06-04 23:15:49 +02:00
parent 84c62456a3
commit f2d22d6364
No known key found for this signature in database
GPG key ID: C0C7B971CC910216

View file

@ -264,10 +264,10 @@ def output(path, url, datadir, data):
("locales", "Translations", "'string'")
]
for count, (header_class, header_label, sort_type) in enumerate(table_headers):
if sort_type:
w('<th onclick="clickSort(%d, %s, this)" class="addon-%s header">%s&nbsp;&nbsp;&nbsp;</th>' % (count, sort_type, header_class, header_label))
else:
w('<th class="addon-%s header">%s&nbsp;&nbsp;&nbsp;</th>' % (header_class, header_label))
if sort_type:
w('<th onclick="clickSort(%d, %s, this)" class="addon-%s header">%s&nbsp;&nbsp;&nbsp;</th>' % (count, sort_type, header_class, header_label))
else:
w('<th class="addon-%s header">%s&nbsp;&nbsp;&nbsp;</th>' % (header_class, header_label))
w('</tr>\n</thead>\n<tbody>')
addons = data.get_all(tag="campaigns")[0]