Changeset 20520

Show
Ignore:
Timestamp:
03/03/10 09:16:49 (5 months ago)
Author:
umesha
Message:

updated tokens for confirm message of delete notification and label for new notification, edit notification, notification properties page
added directory icon on notify pop up
make consistent submit button style for new and edit notification page

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/db/oracle/create-scripts/versions/9.2.0/update_system_properties.sql

    r20516 r20520  
    13361336 
    13371337 
     1338update pn_property p set  
     1339      p.property_value = 'Description:' 
     1340where  
     1341      p.context_id = 2000 and 
     1342      p.language = 'en' and 
     1343      p.property = 'prm.notification.createsubscription2.description.label'; 
     1344       
     1345update pn_property p set  
     1346      p.property_value = 'Created:' 
     1347where  
     1348      p.context_id = 2000 and 
     1349      p.language = 'en' and 
     1350      p.property = 'prm.notification.editsubscription.createdate.label'; 
     1351       
     1352update pn_property p set  
     1353       p.property_value = 'Name of Notification:' 
     1354where  
     1355      p.context_id = 2000 and 
     1356      p.language = 'en' and 
     1357      p.property = 'prm.notification.editsubscription.name.label'; 
     1358       
     1359update pn_property p set  
     1360       p.property_value = 'Are you sure you want to delete this notification?' 
     1361where  
     1362      p.context_id = 2000 and 
     1363      p.language = 'en' and 
     1364      p.property = 'prm.project.setup.notificationremovalwarning.message'; 
     1365 
     1366update pn_property p set  
     1367       p.property_value = 'Notifications' 
     1368where  
     1369      p.context_id = 2000 and 
     1370      p.language = 'en' and 
     1371      p.property = 'prm.notification.managesubscriptions.module.history'; 
     1372       
    13381373prompt Enabling foreign key constraints for PN_PROPERTY... 
    13391374alter table PN_PROPERTY enable constraint PN_PROPERTY_FK2; 
  • trunk/core/web/jsp/notification/CreateSubscription2.jsp

    r20493 r20520  
    9999        subscription.setTargetObjectType(objectType); 
    100100    }     
    101      
     101         
     102    if( StringUtils.isNotEmpty(module)){ 
     103        if(Module.DIRECTORY == Integer.valueOf(module)){ 
     104                imageUrl = SessionManager.getJSPRootURL() + "/images/notify/directory_icon.png"; 
     105        } 
     106        } 
     107 
    102108    objectType = StringUtils.isNotEmpty(objectType) ? objectType : DatabaseUtils.getTypeForObjectID (targetObjectID); // put this in the call to domainListBean below 
    103109    subscription.setUser(user); 
  • trunk/core/web/jsp/notification/EditSubscription.jsp

    r20446 r20520  
    334334        <%-- End Subscription form table --%> 
    335335                <tr> 
    336                 <td align="center" colspan="4" class="notify-edit-bottom" height="40"><button type="button" label='Submit' style="width: 100px;height: 25px" onClick="return finish();"> <%=PropertyProvider.get("prm.notification.createsubscription2.submitbutton.label")%></button> 
     336                <td align="center" colspan="4" class="notify-edit-bottom" height="40"><button type="button" style="width: 100px;" onClick="return finish();"> <%=PropertyProvider.get("prm.notification.createsubscription2.submitbutton.label")%></button> 
    337337                        </td> 
    338338            </tr>