Mercurial > public > src > moin > extensions
changeset 610:362ea5fd96dc
bbb: output of parser improved
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Thu, 28 Jun 2012 17:15:32 +0200 |
parents | 8cc90eda0688 |
children | d18e37876a77 |
files | data/plugin/parser/bbb_create.py |
diffstat | 1 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/data/plugin/parser/bbb_create.py Thu Jun 28 17:10:20 2012 +0200 +++ b/data/plugin/parser/bbb_create.py Thu Jun 28 17:15:32 2012 +0200 @@ -83,7 +83,7 @@ users = meeting_info["users"] users_in_meeting = ["%s %s" % (user["name"], user["role"][0]) for user in users] meeting_data = """|| '''Meeting ID''' || '''Participation Count''' || '''Moderator Count'''|| '''users''' || - || %(meeting_id)s || %(participant_count)s || %(moderator_count)s || %(users)s ||""" % {"meeting_id": meeting_id, +|| %(meeting_id)s || %(participant_count)s || %(moderator_count)s || %(users)s ||""" % {"meeting_id": meeting_id, "participant_count": meeting_info["participant_count"], "moderator_count": meeting_info["moderator_count"], "users": '<<BR>>'.join(users_in_meeting), @@ -139,15 +139,14 @@ raw = u""" - %(msg)s - - Current participants and state of users in this meeting. + %(msg)s - %(meeting_data)s - - %(actions_text)s - - %(guest_info_text)s +Current participants and state of users in this meeting. +%(meeting_data)s +<<BR>> +%(actions_text)s +<<BR>> +%(guest_info_text)s """ % {"msg": msg, "meeting_data": meeting_data, "actions_text": actions_text,