Changeset 208968 in indico


Ignore:
Timestamp:
03/18/11 15:08:47 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
ae9700
Parents:
0a8409
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (03/18/11 13:34:35)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (03/18/11 15:08:47)
Message:

[IMP] Improve subject of chat notification email

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/InstantMessaging/XMPP/components.py

    r372f35 r208968  
    302302        if conference is None: 
    303303            conference = room.getConferences().values()[0] 
    304         self.setSubject('[Indico] Chat room succesfully created') 
     304        self.setSubject("[Indico] [IM] Chat room created in conference %s: %s" % (conference.getId(), room.getTitle())) 
    305305        self.setBody("""    Dear Indico user, 
    306306The chat room with name %s has been successfully created in the conference %s (id: %s) 
     
    311311 
    312312    def edit(self, room, conference): 
    313         self.setSubject("""[Indico] Chat room succesfully edited""") 
     313        self.setSubject("[Indico] [IM] Chat room edited in conference %s: %s" % (conference.getId(), room.getTitle())) 
    314314        self.setBody("""    Dear Indico user, 
    315315The chat room with name %s has been successfully edited in the conference %s (id: %s) 
     
    320320 
    321321    def delete(self, room, conference): 
    322         self.setSubject("""[Indico] Chat room succesfully deleted""") 
     322        self.setSubject("[Indico] [IM] Chat room deleted in conference %s: %s" % (conference.getId(), room.getTitle())) 
    323323        self.setBody("""    Dear Indico user, 
    324324The chat room with name %s has been successfully deleted from the conference %s (id: %s) 
Note: See TracChangeset for help on using the changeset viewer.