wmlunits: Couple of cosmetic fixes
This commit is contained in:
parent
4d5a4fc4c6
commit
a0029c06d1
2 changed files with 4 additions and 4 deletions
|
@ -863,7 +863,7 @@ class HTMLOutput:
|
|||
if female:
|
||||
fname = T(female[0], "name")
|
||||
if fname and fname != uname:
|
||||
display_name += "<br/>" + cleantext(fname)
|
||||
display_name += " / " + cleantext(fname)
|
||||
|
||||
write('<div class="unit-columns">')
|
||||
|
||||
|
@ -893,7 +893,7 @@ class HTMLOutput:
|
|||
if not description:
|
||||
description = clean_uval("unit_description")
|
||||
if not description:
|
||||
description = "-"
|
||||
description = html_entity_horizontal_bar
|
||||
write('<p>%s</p>\n' % re.sub('\n', '\n<br />', description))
|
||||
|
||||
# Base info.
|
||||
|
|
|
@ -11,7 +11,7 @@ def write_addon_overview(folder, addon):
|
|||
name = addon["name"]
|
||||
|
||||
path = "../"
|
||||
title = html_output.cleantext(name + " Overview")
|
||||
title = html_output.cleantext("Build Report for " + name)
|
||||
generation_note = "Last updated on " + time.ctime() + "."
|
||||
|
||||
w(html_output.html_header % locals())
|
||||
|
@ -42,7 +42,7 @@ def write_addon_overview(folder, addon):
|
|||
w("<div>")
|
||||
if os.path.exists(os.path.join(folder, "error.log")):
|
||||
w('<p><b>Warnings or errors were found: <a href="error.html"/>log</a></b></p>')
|
||||
w('<p><a href="../overview.html">back to overview</a></p>')
|
||||
w('<p><a href="../overview.html">Back to the full report</a></p>')
|
||||
w("</div>")
|
||||
|
||||
w('</div> <!-- overview -->')
|
||||
|
|
Loading…
Add table
Reference in a new issue