Changeset 1363 for HelpIM3

Show
Ignore:
Timestamp:
12/23/10 11:21:04 (17 months ago)
Author:
zeank
Message:

renaming Chat Group and ChatGroup? to Chatgroup for consistency

Location:
HelpIM3/branches/chatgroups/HelpIM/chatgroup
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • HelpIM3/branches/chatgroups/HelpIM/chatgroup/pages/AddGroup.py

    r1340 r1363  
    66    def __init__(self, *args, **kwargs): 
    77        super(Handler, self).__init__(self, *args, **kwargs) 
    8         self.function = 'AddChatGroup' 
    9         self.panelName = 'Chat Group Toevoegen' 
     8        self.function = 'AddChatgroup' 
     9        self.panelName = 'Chatgroup Toevoegen' 
    1010 
    1111    def validate(self, *args, **kwargs): 
     
    1818        group.max_members = self.getParam('max_members') 
    1919        self.site.create(self.site, group) 
    20         self.panelMessage = 'Chat Group is toegevoegd' 
     20        self.panelMessage = 'Chatgroup is toegevoegd' 
    2121 
    2222    def getPanelData(self, *pargs, **kwargs): 
  • HelpIM3/branches/chatgroups/HelpIM/chatgroup/pages/EditGroup.py

    r1340 r1363  
    77    def __init__(self, *args, **kwargs): 
    88        super(Handler, self).__init__(self, *args, **kwargs) 
    9         self.function = 'EditChatGroup' 
    10         self.panelName = 'Wijzig Chat Group' 
     9        self.function = 'EditChatgroup' 
     10        self.panelName = 'Wijzig Chatgroup' 
    1111 
    1212    def validate(self, *args, **kwargs): 
  • HelpIM3/branches/chatgroups/HelpIM/chatgroup/pages/ShowGroup.py

    r1362 r1363  
    77    def __init__(self, *args, **kwargs): 
    88        super(Handler, self).__init__(*args, **kwargs) 
    9         self.panelName = 'Chat Group' 
    10         self.function = 'ShowChatGroup' 
     9        self.panelName = 'Chatgroup' 
     10        self.function = 'Chatgroup' 
    1111        self.forcePOST = True 
    1212 
     
    2424                                {'data_text': [{'valueAttr': 'is_open', 
    2525                                                'valueTable': 'GroupData'}]}]]}, 
    26              {'action': [{ 'name': 'EditChatGroup', 
    27                            'text': 'Edit Chat Group', 
     26             {'action': [{ 'name': 'EditChatgroup', 
     27                           'text': 'Edit Chatgroup', 
    2828                           'type': 'action_link'}, 
    2929                         [{'actionParm': [{'name': 'group_id', 
     
    167167        deleteGroup = {'edit_panel': [ 
    168168            [{'action': [{ 
    169                 'name': "ShowChatGroups?action=deleteChatGroup&group_id=%s" 
     169                'name': "Chatgroups?action=deleteChatgroup&group_id=%s" 
    170170                % self.getParam('group_id'), 
    171171                'text': 'Verwijder chat group', 
  • HelpIM3/branches/chatgroups/HelpIM/chatgroup/pages/ShowGroups.py

    r1340 r1363  
    66    def __init__(self, *args, **kwargs): 
    77        super(Handler, self).__init__(*args, **kwargs) 
    8         self.panelName = 'Chat Groups' 
    9         self.editAction = 'ShowChatGroup' 
    10         self.function = 'ShowChatGroups' 
     8        self.panelName = 'Chatgroups' 
     9        self.editAction = 'Chatgroup' 
     10        self.function = 'Chatgroups' 
    1111        self.forcePOST = True 
    1212 
     
    3131                {'web_panel': [ 
    3232                    {}, 
    33                     [{'action': [{'name': 'AddChatGroup', 
     33                    [{'action': [{'name': 'AddChatgroup', 
    3434                                  'text': 'Maak een nieuwe groep aan', 
    3535                                  'type': 'link'} 
     
    3939 
    4040    def getMenuAttributes(self, *args, **kwargs): 
    41         return {'currentMenu'   : 'ChatGroups', 
     41        return {'currentMenu'   : 'Chatgroups', 
    4242                'currentSubMenu': '*None'} 
    4343 
     
    6363        group = self.site.getChatGroupById(self.site, self.getParam('group_id')) 
    6464        if group: 
    65             if self.checkParam('action', 'deleteChatGroup'): 
     65            if self.checkParam('action', 'deleteChatgroup'): 
    6666                self.site.deleteChatGroup(self.site, 
    6767                                          self.getParam('group_id')) 
  • HelpIM3/branches/chatgroups/HelpIM/chatgroup/pages/Subscription.py

    r1340 r1363  
    66    def __init__(self, *args, **kwargs): 
    77        super(Handler, self).__init__(*args, **kwargs) 
    8         self.panelName = 'Chat Group Subscription' 
     8        self.panelName = 'Chatgroup Subscription' 
    99        self.function = 'subscribe' 
    1010 
     
    8686        groupsData = {'GroupsTable': [{'name': 'GroupsTable'}, GroupRecords]} 
    8787 
    88         self.log.debug("*************************") 
    8988        self.log.debug(groupsData) 
    90         self.log.debug("*************************") 
    9189 
    9290         
  • HelpIM3/branches/chatgroups/HelpIM/chatgroup/templates/EditGroupPanelTemplate.py

    r1299 r1363  
    1313                                         'type': 'hidden'}]}, 
    1414                  {'textarea_with_label': [{'id': 'description', 
    15                                             'name': 'Chat Group Description', 
     15                                            'name': 'Chatgroup Description', 
    1616                                            'cols': '80', 
    1717                                            'rows': '10'}]},