Two bug fixes for ccm-sci-types-project:
- Confirmation text for removing a sponsor is now translated - Removing a sponsor now works git-svn-id: https://svn.libreccm.org/ccm/trunk@2937 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
e81b7f7bf1
commit
21c4b66746
|
|
@ -86,7 +86,7 @@ public class SciProjectBundle extends GenericOrganizationalUnitBundle {
|
|||
public void removeSponsor(final GenericOrganizationalUnit sponsor) {
|
||||
Assert.exists(sponsor, GenericOrganizationalUnit.class);
|
||||
|
||||
remove(SPONSORS, sponsor);
|
||||
remove(SPONSORS, sponsor.getGenericOrganizationalUnitBundle());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -104,3 +104,4 @@ sciproject.ui.sponsor.up=Up
|
|||
sciproject.ui.sponsor.down=Down
|
||||
sciproject.ui.sponsor.edit_assoc=Edit
|
||||
cms.contenttypes.sciproject.type_label=Research Project
|
||||
sciproject.ui.sponsor_remove.confirm=Are your sure to remove this sponsor?
|
||||
|
|
|
|||
|
|
@ -105,3 +105,4 @@ sciproject.ui.sponsor.up=Hoch
|
|||
sciproject.ui.sponsor.down=Runter
|
||||
sciproject.ui.sponsor.edit_assoc=Bearbeiten
|
||||
cms.contenttypes.sciproject.type_label=Forschungsproject
|
||||
sciproject.ui.sponsor_remove.confirm=Sind sie sicher das Sie diesen Mittelgeber entfernen m\u00f6chten?
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ public class SciProjectSponsorSheet extends Table {
|
|||
if (canEdit) {
|
||||
final ControlLink link = new ControlLink((Label)value);
|
||||
link.setConfirmation(SciProjectGlobalizationUtil.globalize(
|
||||
"sciproject.ui.sponsor.remove.confirm"));
|
||||
"sciproject.ui.sponsor_remove.confirm"));
|
||||
return link;
|
||||
} else {
|
||||
return new Label("");
|
||||
|
|
|
|||
Loading…
Reference in New Issue