wam: Add a hidden copy of the add-on name for sorting purposes

This commit is contained in:
Ignacio R. Morelle 2017-07-24 21:35:04 -04:00
parent 9a7ef678ff
commit 79a294471f

View file

@ -185,7 +185,7 @@ Unit packs, terrain packs, music packs, etc. Usually a (perhaps optional) depend
described = htmlescape(v("description", "(no description)"))
w('<div class="desc-tooltip"><b>%s</b><pre>%s</pre></div></td>' % (
name, described))
w("<td class=\"addon\">")
w("<td class=\"addon\"><span hidden>%s</span>" % name)
if url:
link = url.rstrip("/") + "/" + htmlescape(v("name")) + ".tar.bz2"
w("""\