summaryrefslogtreecommitdiffstats
path: root/update-blocker-wiki
diff options
context:
space:
mode:
authorJames Laska <jlaska@redhat.com>2011-06-23 08:22:56 -0400
committerJames Laska <jlaska@redhat.com>2011-06-23 08:22:56 -0400
commit120ed2d3897c4c5ddc7dc4355a50973a340a813c (patch)
tree7f980c690435a16f7487b39428e5cadb471ec46f /update-blocker-wiki
parentf9848188e3c93dd21f8e8ece1a96574798e0b7c6 (diff)
downloadscripts-120ed2d3897c4c5ddc7dc4355a50973a340a813c.tar.gz
scripts-120ed2d3897c4c5ddc7dc4355a50973a340a813c.tar.xz
scripts-120ed2d3897c4c5ddc7dc4355a50973a340a813c.zip
Don't sort the links column and offer a fallback image
Diffstat (limited to 'update-blocker-wiki')
-rwxr-xr-xupdate-blocker-wiki7
1 files changed, 5 insertions, 2 deletions
diff --git a/update-blocker-wiki b/update-blocker-wiki
index 68d14f5..751295a 100755
--- a/update-blocker-wiki
+++ b/update-blocker-wiki
@@ -65,7 +65,7 @@ def wikitable_bugs(bugs_by_component, bugs_by_id):
components = sorted(bugs_by_component.keys())
if len(components) > 0:
buf = '''{| class="wikitable sortable"
-! Bug !! Component !! Status !! Description !! Links
+! Bug !! Component !! Status !! Description !! class="unsortable"|Links
|- \n'''
for component in components:
@@ -265,7 +265,10 @@ if __name__ == '__main__':
page_content += '[[File:Hotdog.gif|right]]'
# Otherwise, display release logo
else:
- page_content += '[[File:F{{FedoraVersionNumber|next}}_anaconda_center.png|right]]'
+ page_content += '''{{#ifexist: File:F{{FedoraVersionNumber|next}}_anaconda_center.png
+| [[File:F{{FedoraVersionNumber|next}}_anaconda_center.png|right]]
+| [[File:FedoraLogo_infinity.svg|right|150px]] }}
+'''
def join_lists(l):
'''