Commit Graph

112 Commits

Author SHA1 Message Date
Ingo Schommer
ac20bfaf99 MINOR Renamed GridFieldAction_Edit to GridFieldEditAction, GridFieldAction_Delete to GridFieldDeleteAction, to make it clearer that there's no parent class/concept called "GridFieldAction". There's only the GridFieldActionProvider interface, as well as the GridField_FormAction (which is a related, but different kettle of fish). 2012-03-08 18:22:25 +01:00
Ingo Schommer
3e700d729f MINOR Renaming GridField_Action to GridField_FormAction, to better distinguish it from GridFieldActionProvider and GridFieldAction_Edit. The two are conceptually related, but not through inheritance, as the original naming suggested. 2012-03-08 15:22:00 +01:00
Normann Lou
d35d7507ff FEATURE SSF-25 : enable to remove component from a GridFieldConfig. 2012-03-08 20:29:18 +13:00
Normann Lou
fd828fc4cb ENHANCEMENT SSF-53 : change the icon class for "Link Existing" button to 'chain--plus' 2012-03-08 14:55:53 +13:00
Andrew O'Neil
38db2c1744 BUGFIX: Fix state of gridfield pagination 2012-03-08 14:11:25 +13:00
Normann Lou
0ede949b74 MINOR SSF-53 : typo correction 'unlick' => 'unlink' 2012-03-08 12:28:35 +13:00
Normann Lou
7331a06cb1 ENHANCEMENT SSF-53 : add gridfield-button-unlink to unlink button that removes a member from a group 2012-03-08 11:05:57 +13:00
Ingo Schommer
3b9c9399dc MINOR Using base LeftAndMain_EditForm template in GridFieldPopupForms regardless of template overrides on the "root" cms controller 2012-03-07 17:17:44 +01:00
Normann Lou
1facb509a4 ENHANCEMENT SSF-53 : Change the Labels for "Save" and "Delete" button for an "adding new form" of GridField to "Create" and "Cancel", apply different logic for Cancel 2012-03-07 18:32:27 +13:00
Julian Seidenberg
febcff734c BUGFIX: SSF-30 redirect action that sends an edit form back to the root of assets after making a change like changing the parentID of a file, or deleting it. Basically, any action that makes the existing URL reference obsolete. 2012-03-07 17:17:32 +13:00
Julian Seidenberg
676bcbe8c0 BUGFIX: SSF-30 adding check for null record in the GridFieldPopupForms request handler 2012-03-07 16:43:12 +13:00
Normann Lou
4794195b25 MINOR SSF-53 : change the export button's icon name as per design 2012-03-07 15:28:00 +13:00
Andrew O'Neil
a28485316f BUGFIX: Fix pagination when there are no records 2012-03-07 14:48:08 +13:00
Andrew O'Neil
c81bb3b4d3 MINOR: Change -10/+10 buttons to First and Last 2012-03-07 14:48:08 +13:00
Ingo Schommer
829c7682e3 BUGFIX Support for multilevel nested GridFieldPopupForm (in CMS only), fixed breadcrumb linkage 2012-03-07 01:23:41 +01:00
Andrew O'Neil
58309cb2ec MINOR: Tests for add and edit forms of GridField 2012-03-07 10:48:09 +13:00
Ingo Schommer
8efaf75375 MINOR jQuery UI icons for GridField buttons (with spriting), added new icon to GridFieldRelationDelete to dustinguish it visually from GridFieldAction_Delete 2012-03-06 21:38:34 +01:00
Ingo Schommer
1c344db339 MINOR More consistent overloading in GridField_Action, using standard getAttributes() method rather than custom template placeholders, removing setButtonIcon() and setButtonLabel() as those features already exist in the base implementation 2012-03-06 21:38:34 +01:00
Ingo Schommer
0b4228231c MINOR Integrating GridFieldSearch.js in GridField.js (and using entwine for it) 2012-03-06 21:38:34 +01:00
Ingo Schommer
dc83ace928 BUGFIX Fixed CSV exporting on GridFieldExporter (was calling action via ajax, which doesn't allow HTTP download responses) 2012-03-06 15:50:07 +01:00
Ingo Schommer
dca1b0df1c MINOR GridField docs 2012-03-06 12:39:13 +01:00
Julian Seidenberg
17016273d5 MINOR: SSF-106 documentation 2012-03-06 15:01:17 +13:00
Ingo Schommer
4253950b4c MINOR Fixed handleRequest() usage in GridFieldPopupForms 2012-03-06 01:23:34 +01:00
Julian Seidenberg
e0bd5d1070 ENHANCEMENT: SSF-106 adding a "no items found" message when returning an empty grid field 2012-03-06 12:36:59 +13:00
Julian Seidenberg
a715785a42 ENHANCEMENT: SSF-106 adding the ability to turn off and on the "add new" button on the GridFieldTitle 2012-03-06 11:19:46 +13:00
Ingo Schommer
e2c21cce8e MINOR "New <record title>" breadcrumb for GridFieldPopupForm 2012-03-05 18:21:08 +01:00
Ingo Schommer
40abab8aec ENHANCEMENT GridFieldPopupForms->setValidator() 2012-03-05 17:41:50 +01:00
Ingo Schommer
8a4a6efe29 MINOR Moving CMS-specific customisations to GridFieldPopupForms into form getter, so it also applies when the form has validation errors 2012-03-05 17:41:50 +01:00
Ingo Schommer
ea31e1798a MINOR Don't duplicate pagination defaults from GridFieldPaginator in GridFieldConfig 2012-03-05 16:11:29 +01:00
Ingo Schommer
6798d40709 MINOR GridField documentation 2012-03-05 12:27:25 +01:00
Ingo Schommer
10a85f4bab ENHANCEMENT Scaffolding GridFieldRelationAdd->searchFields if required, making constructor argument optional 2012-03-05 12:27:00 +01:00
Ingo Schommer
0762be9927 ENHANCEMENT Renamed GridFieldConfig_ManyManyEditor to GridFieldConfig_RelationEditor, to be more in line with underlying component naming, and more accurate (as it allows editing has_many relations as well). Removed $fieldToSearch argument from its constructor to keep config API consistent, should use getComponentByType() for configuration. Added GridFieldConfig_RecordEditor 2012-03-05 12:26:02 +01:00
Ingo Schommer
375ad464db ENHANCEMENT GridFieldPaginatior->itemsPerPage accessors 2012-03-05 12:12:36 +01:00
Normann Lou
7a97b52a2e ENHANCEMENT SSF-53 : add customised icon class for relational 'Export to CSV' button. 2012-03-05 17:30:02 +13:00
Normann Lou
8a56f989ac MINOR SSF-53 : give "Add New" button an 'add' icon class, give "Link Exisiting" button a 'linkexisting' class 2012-03-05 15:47:36 +13:00
Normann Lou
d26e68c41a ENHANCEMENT SSF-53 : add customised icon class for relational 'Find' button and 'Link Existing' button 2012-03-05 15:47:35 +13:00
Normann Lou
3ef957b704 APICHANGE SSF-53 : add ability to set an customised class of icons for a GridField_Action button 2012-03-05 15:47:35 +13:00
Andrew O'Neil
929182f818 MINOR Adjust pagination to match design 2012-03-05 15:28:40 +13:00
Normann Lou
79d52a2382 ENHANCEMENT SSF-53: put a unlink button in the "Actions" column rather than holding a separate column for easy styling 2012-03-05 12:45:05 +13:00
Ingo Schommer
b95abeedc6 Revert "MINOR SSF-53 : add ability to add customised class to GridField table" (introduces duplicate '.ss-gridfield' class in different levels of the DOM hierarchy)
This reverts commit 7bdc3d13fc.
2012-03-02 12:28:45 +01:00
Normann Lou
1175c693c5 ENHANCEMENT SSF-53 : add ability to use translated button label for 'Add New' and 'Link Existing' 2012-03-02 17:26:36 +13:00
Normann Lou
7bdc3d13fc MINOR SSF-53 : add ability to add customised class to GridField table 2012-03-02 16:27:34 +13:00
Normann Lou
5548c66a49 ENHANCEMENT SSF-53 reordering the components that added to group GridField in CMS so that it appears same as the landing view of SecurityAdmin 2012-03-02 16:03:23 +13:00
Normann Lou
de75798559 BUGFIX SSF-53 Pass through the parameter $itemsPerPage instead of reassign the default value (15) 2012-03-02 15:59:39 +13:00
Andrew O'Neil
fce5487e59 MINOR: SFF-106 Gridfield changes to make styling easier 2012-03-02 11:06:24 +13:00
Ingo Schommer
aa2e610a20 MINOR Documentation 2012-03-01 21:36:01 +01:00
Ingo Schommer
04698ac295 ENHANCEMENT GridFieldRelationAdd->placeholderText (SSF-53) 2012-03-01 21:35:59 +01:00
Ingo Schommer
a2afe4e4ad ENHANCEMENT Support multiple search fields in GridFieldRelationAdd, and allowing custom result formatting (SSF-53) 2012-03-01 21:35:45 +01:00
Ingo Schommer
9c95a9ae29 MINOR Removed GridFieldRelationAdd->useAutoSuggestion flag, as the field doesn't work without it (no current ID is being set via JS) (SSF-53) 2012-03-01 17:57:16 +01:00
Normann Lou
2dfb4142e0 BUGFIX SSF-53: fixed that raw html source appears for "Export to CSV" button(SSF-243) 2012-03-01 12:35:35 +13:00