1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

Putting status in rows' classes.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3523 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Tobias Markmann 2009-10-09 17:54:57 +00:00
parent 7583a276f5
commit fe66b91cac

2
gen.py
View File

@ -131,7 +131,7 @@ class XEPTable:
self.tableFile.getElementsByTagName("table")[0].appendChild(self.tableFile.createTextNode(''' self.tableFile.getElementsByTagName("table")[0].appendChild(self.tableFile.createTextNode('''
''')) '''))
xeprow.setAttribute("id", "xep" + info.getNr()) xeprow.setAttribute("id", "xep" + info.getNr())
xeprow.setAttribute("class", "tablebody") xeprow.setAttribute("class", "tablebody " + info.getStatus())
else: else:
while(xeprow.hasChildNodes()): while(xeprow.hasChildNodes()):
xeprow.removeChild(xeprow.firstChild) xeprow.removeChild(xeprow.firstChild)