Sam Minnee
2fdd9a3b13
FIX: Allow images attached to UploadFields to be unlinked without File::canEdit() or File::canDelete() permission.
...
Although editing meta-data or deleting permanently would require File editing/deleting permissions, merely linking to a record does not. This change is important for allowing front-end use of UploadField; or, more importantly, use of UploadFile by people without CMS rights.
2013-01-11 09:07:42 +01:00
Sean Harvey
6ff5e8f39d
Adding ability to translate "Edit" text in GridFieldEditButton
2012-11-07 11:34:51 +13:00
Damian Mooyman
f265595c1e
NEW: GridFieldPageCount control for displaying the current page count/total in the gridview header. Designed to complement a functional pager in the grid footer.
...
NEW: GridFieldPageCount widget to default config settings
FIX: @extend .col_buttons in GridField.scss which was raising a warning
2012-10-03 14:54:37 +13:00
Ingo Schommer
8dccb7f7d7
i18n for GridField pagination footer (see #7798 )
2012-08-26 23:58:31 +02:00
mightycoco
5f94d23000
ENHANCEMENT: Ntfcatn. image embedding(trac #7438 )
...
Adding an additional warning / notification message, when author embedds an external image.
2012-08-16 21:03:37 +02:00
Ingo Schommer
023721aaca
GridFieldPaginator localization
2012-08-10 00:30:49 +02:00
Ingo Schommer
d0a9811087
BUG Fully qualified namespace for _t() in templates
...
Was inferred by the containing file previously,
which is deprecated behaviour, because it obscures
the fact that renaming an template file or copying
template code will change the context of the translations.
While it would be nice to use shorter and more readable namespaces,
this change would remove all existing translations.
Since there is no (easy) migration of entities to a new namespace,
having verbose template code is the lesser of two evils.
2012-08-06 13:44:21 +02:00
Naomi Guyer
7523f98e04
BUGFIXES: File Uploads
...
* Add arrows back to edit-all toggle button
* Don't show dimensions if the item being inserted doesn't have them.
* Set pop-up windows to be a percentage of the window height for better
use of space
* Fix broken fieldholdersmall styling within files edit
* Add placeholder if no preview
*Take out minFileSize so upload will work on Android phones
2012-06-08 18:40:33 +02:00
Sean Harvey
0235a8c0c7
BUGFIX Partially reverting 28e43bdc
which broke media insertion
2012-05-28 22:27:20 +12:00
Jeremy Bridson
fb78cab8e6
ENHANCEMENT:Trac#7218 - changed delete button on gridfield to cross and added tooltips for both edit and delete.
2012-05-28 12:03:38 +12:00
Naomi Guyer
28e43bdc88
ENHANCEMENT: File/Image UI fixes
...
* Replaced cancel/delete button in files area
* Consolidated Image upload styles with AssetUpload styles
* Changed name of step 2 in image upload
* Made image editing hidden by default, so multiple files can be seen,
and added ability top open and close
* Tweaked styles in on page upload field (status colour and file name
width)
2012-05-28 11:50:34 +12:00
Naomi Guyer
16982ba17c
ENHANCEMENT: Make GridFieldAddNewButton Content more specific
...
* Alter Grid Field "Add New" Button to take the name of the table (i.e.
"Add Member")
* Alter table names in security section to be singular so the button
text makes sense
2012-05-21 17:47:14 +12:00
Naomi Guyer
1747298786
ENHANCEMENT: Make GridFieldButtonRow more adaptable
...
* Add ability to choose where to put buttons (in buttonRow, toolbar
header, etc)
* Adjust styles to take these changes into account
2012-05-21 14:41:46 +12:00
Naomi Guyer
a7336e9dca
ENHANCEMENT: Move GridField buttons out of table (fixes 7213)
...
* Added a separate component to grid field to hold buttons.
* Updated templates for changes
* Updated comments
2012-05-21 14:19:59 +12:00
Normann Lou
5290b81c55
ENHANCEMENT: don't show the paginating elements in the paginator when only one page, and keep 'view 1 - 5 of 5' there
2012-05-18 11:31:33 +12:00
Naomi Guyer
458171ff92
ENHANCEMENT: Gridfield usability (fixes 7215)
...
1. Modified gridfield to use default colours
2. Added ability to show and hide the filter
3. Design changes to icons used
4. Gridfield template fixes: Took out broken mark-up from templates
(spans were being inserted inside spans), and adjusted styles. Added
extra class to template
5. Added "filter by ..." placeholder text to input fields
2012-05-16 12:18:23 +12:00
Andrew Short
05cde92508
FEATURE: Implemented a view action for GridField, and a record viewing GridFieldConfig.
2012-05-12 18:49:56 +10:00
Andrew Short
dc1ccfe251
MINOR: Made the JS class used for gridfield detail actions apply to .action-detail rather than specific actions.
2012-05-12 18:49:56 +10:00
Sean Harvey
6f672e5f36
MINOR Fixing use of <% control %> with <% with %> or <% loop %> as necessary.
2012-05-11 13:49:20 +12:00
Naomi Guyer
68f9cde226
BUGFIX: 7219-feedback-changes-file-upload
...
Altered files from ENHANCEMENT: UI Changes to FileUpload Area
(TRAC-7219 that were missed in the prior push
2012-05-10 11:41:09 +02:00
Ingo Schommer
a2dbd69f2c
ENHANCEMENT Allow Controllers to opt-out or modify the back link behaviour in GridFieldDetailForm
2012-05-08 11:25:47 +02:00
Normann Lou
7324712e9e
FEATURE: add Levelup component to GridField as GridFieldLevelup
2012-05-07 13:40:53 +12:00
Ingo Schommer
e29bb3c390
ENHANCEMENT Allow opt-out of autofocus in CMS editor form, to avoid browser "auto scrolling" to bring the focused element into view ( fixes #7242 )
2012-05-02 18:27:45 +02:00
Sean Harvey
8949dfa691
ENHANCEMENT Replaced locations of sapphire with $ModulePath(framework) in templates, based off Controller which implements TemplateGlobalProvider
2012-04-15 10:50:20 +12:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Julian Seidenberg
e9dc610448
API-CHANGE: new GridFieldFooter component
2012-04-12 16:13:47 +12:00
Normann Lou
6671ae7ee9
BUGFIX SSF-124 remove $extraClass in the sortable header of GridField, simply add an 'col-$getName' as the distinguishable class for each column header, so as not to lose the css selector
2012-04-10 17:55:14 +12:00
Normann Lou
26cec90ba7
ENHANCEMENT: SSF-124 make GridFieldSortableHeader to show the extra classes for each of the header field.
2012-04-10 12:04:22 +12:00
Julian Seidenberg
14c3fd75a1
ENHANCEMENT: SSF-168 refactoring print button so that it opens print view in a new window. This is useful for debugging and also useful for when someone wants to use the print view not for printing, but for viewing a clean version of a gridfield without the surrounding CMS, using the view for copying and pasting into another app, for example.
2012-04-05 18:15:44 +12:00
Normann Lou
a946096e29
MINOR: SSF-168 code convention correction
...
MINOR: SSF-168 add _t()'s where necessory in GridField print view
2012-04-05 11:02:42 +12:00
Felipe Skroski
4ffef20b09
ENHANCEMENT: SSF-168 updated print styles to the datagrid
2012-04-04 14:09:52 +12:00
Normann Lou
721184c4b3
MINOR SSF-297 add more available information to GridField print view
2012-04-04 14:07:07 +12:00
Normann Lou
ba02e500e7
FEATURE added GridFieldPrintButton compoonent
2012-04-03 16:57:48 +12:00
Julian Seidenberg
196ec032a0
MINOR: changing template to make delete icon appear in the list of uploaded files
2012-03-30 11:10:16 +13:00
Julian Seidenberg
29d7a9a679
MINOR: SSF-38 adding some additional classes to delete button
2012-03-29 17:34:22 +13:00
Julian Seidenberg
e67a777b48
MINOR: SSF-38 adding class for delete button on template
2012-03-29 17:28:18 +13:00
Sam Minnee
818c341c57
API CHANGE: Created GridFieldAddNewButton, replacing the one that was previously hardcoded in GridFieldToolbarHeader
2012-03-09 17:52:26 +13:00
Sam Minnee
12618e2027
API CHANGE: Added targetFragment argument to GridFieldAddExistingAutocompleter, so that its location can be changed. Updated CSS and HTML to allow for this.
2012-03-09 17:52:26 +13:00
Sam Minnee
d795a55bdb
API CHANGE: Removed 'add new' button from GridFieldToolbarHeader, instead opting to include two HTML fragments: toolbar-header-left and toolbar-header-right.
2012-03-09 17:52:26 +13:00
Stig Lindqvist
8b82dae06c
API CHANGE: Renaming of gridfield components #6921
2012-03-09 12:54:02 +13:00
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
jbridson
349794a44f
MINOR:SSF-106 added class="text" to pagination input field for styling
2012-03-08 16:40:05 +13:00
Andrew O'Neil
4ad7e8ef8d
FEATURE: Input box for going to a page in gridfield
2012-03-08 14:11:25 +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
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
jbridson
597b12e823
ENHANCEMENT: SSF-53 - Styled the pagination and icons on export to CSV button on User datagrid.
2012-03-06 15:55:26 +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
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
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