Changeset 1433

Show
Ignore:
Timestamp:
03/11/11 11:29:03 (15 months ago)
Author:
winfried
Message:

- Prettifying the list of openings hours
- Changing the light config to user the admin variant of the user management,
that one is far better tested and has less bugs.

Location:
HelpIM3/branches/chatgroups
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • HelpIM3/branches/chatgroups/HelpIM/chat/pages/ShowOpenSchedule.py

    r1431 r1433  
    3030        order_by = ['chat_shift_dayOfWeek', 'chat_shift_start_time'] 
    3131        shiftsList = self.site.getTableData('Table_Data', 'Table_Record', self.site.getShiftList(self.site, order_by=['chat_shift_dayOfWeek', 'chat_shift_start_time']), shiftDataElements, fieldsAsAttributes) 
    32         self.log.debug("*************  " + str(shiftsList['Table_Data'][1])) #[0]['Table_Record'])) 
    3332        for i in range(len(shiftsList['Table_Data'][1])): 
    3433            shiftsList['Table_Data'][1][i]['Table_Record'][0]["chat_shift_start_time"] = shiftsList['Table_Data'][1][i]['Table_Record'][0]["chat_shift_start_time"][:-3] + " uur" 
  • HelpIM3/branches/chatgroups/config/sites/light.xml

    r1387 r1433  
    3636                        <actionResult name="actionResult_SUCCESS" target="home" /> 
    3737                </actionPerformed> 
    38                 <actionPerformed name="AddUser"> 
    39                         <actionResult name="actionResult_SUCCESS" target="ShowUsers" /> 
     38                <actionPerformed name="AddUser_Admin"> 
     39                        <actionResult name="actionResult_SUCCESS" target="ShowUsers_Admin" /> 
    4040                </actionPerformed> 
    41                 <actionPerformed name="EditUser"> 
    42                         <actionResult name="actionResult_SUCCESS" target="ShowUsers" /> 
     41                <actionPerformed name="EditUser_Admin"> 
     42                        <actionResult name="actionResult_SUCCESS" target="ShowUsers_Admin" /> 
    4343                </actionPerformed> 
    4444        </listOf__actionPerformed> 
     
    4646        <listOf__page> 
    4747                <!-- Authorisation--> 
    48                 <page location="ShowUsers" module="auth" script="ShowUsers" 
     48                <page location="ShowUsers_Admin" module="auth" script="ShowUsers_Admin" 
    4949                        allowCookies="True" /> 
    50                 <page location="AddUser" module="auth" script="AddUser" 
     50                <page location="AddUser_Admin" module="auth" script="AddUser_Admin" 
    5151                        allowCookies="True" /> 
    52                 <page location="EditUser" module="auth" script="EditUser" 
     52                <page location="EditUser_Admin" module="auth" script="EditUser_Admin" 
    5353                        allowCookies="True" /> 
    5454                <page location="chgPwd" module="auth" script="ChangePassword" 
     
    136136                <AuthorizedLocation key="EndCareWorkerChat" /> 
    137137                <!-- Authorisation--> 
    138                 <AuthorizedLocation key="ShowUsers" /> 
    139                 <AuthorizedLocation key="AddUser" /> 
    140                 <AuthorizedLocation key="EditUser" /> 
     138                <AuthorizedLocation key="ShowUsers_Admin" /> 
     139                <AuthorizedLocation key="AddUser_Admin" /> 
     140                <AuthorizedLocation key="EditUser_Admin" /> 
    141141                <!-- Editing Intranet --> 
    142142                <AuthorizedLocation key="Edithome" /> 
     
    150150        <menuEntry action="ShowChats" title="Gesprekken" /> 
    151151        <menuEntry action="StartCareWorkerChat" title="Chat" /> 
    152         <menuEntry action="ShowUsers" title="Gebruikers" /> 
     152        <menuEntry action="ShowUsers_Admin" title="Gebruikers" /> 
    153153 
    154154        <Text id="ChatStartErrorText" value="Er was een probleem bij het openen van de chat, sluit dit venster en probeer opnieuw." />