mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Compare commits
No commits in common. "3" and "3.6.3" have entirely different histories.
1
.github/ISSUE_TEMPLATE.md
vendored
1
.github/ISSUE_TEMPLATE.md
vendored
@ -1 +0,0 @@
|
|||||||
<!-- Blank templates are for use by maintainers only! If you aren't a maintainer, please go back and pick one of the issue templates. -->
|
|
72
.github/ISSUE_TEMPLATE/1_bug_report.yml
vendored
72
.github/ISSUE_TEMPLATE/1_bug_report.yml
vendored
@ -1,72 +0,0 @@
|
|||||||
name: 🪳 Bug Report
|
|
||||||
description: Tell us if something isn't working the way it's supposed to
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
We strongly encourage you to [submit a pull request](https://docs.silverstripe.org/en/contributing/code/) which fixes the issue.
|
|
||||||
Bug reports which are accompanied with a pull request are a lot more likely to be resolved quickly.
|
|
||||||
- type: input
|
|
||||||
id: affected-versions
|
|
||||||
attributes:
|
|
||||||
label: Module version(s) affected
|
|
||||||
description: |
|
|
||||||
What version of _this module_ have you reproduced this bug on?
|
|
||||||
Run `composer info` to see the specific version of each module installed in your project.
|
|
||||||
If you don't have access to that, check inside the help menu in the bottom left of the CMS.
|
|
||||||
placeholder: x.y.z
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: Description
|
|
||||||
description: A clear and concise description of the problem
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: how-to-reproduce
|
|
||||||
attributes:
|
|
||||||
label: How to reproduce
|
|
||||||
description: |
|
|
||||||
⚠️ This is the most important part of the report ⚠️
|
|
||||||
Without a way to easily reproduce your issue, there is little chance we will be able to help you and work on a fix.
|
|
||||||
- Please, take the time to show us some code and/or configuration that is needed for others to reproduce the problem easily.
|
|
||||||
- If the bug is too complex to reproduce with some short code samples, please reproduce it in a public repository and provide a link to the repository along with steps for setting up and reproducing the bug using that repository.
|
|
||||||
- If part of the bug includes an error or exception, please provide a full stack trace.
|
|
||||||
- If any user interaction is required to reproduce the bug, please add an ordered list of steps that are required to reproduce it.
|
|
||||||
- Be as clear as you can, but don't miss any steps out. Simply saying "create a page" is less useful than guiding us through the steps you're taking to create a page, for example.
|
|
||||||
placeholder: |
|
|
||||||
|
|
||||||
#### Code sample
|
|
||||||
```php
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Reproduction steps
|
|
||||||
1.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: possible-solution
|
|
||||||
attributes:
|
|
||||||
label: Possible Solution
|
|
||||||
description: |
|
|
||||||
*Optional: only if you have suggestions on a fix/reason for the bug*
|
|
||||||
Please consider [submitting a pull request](https://docs.silverstripe.org/en/contributing/code/) with your solution! It helps get faster feedback and greatly increases the chance of the bug being fixed.
|
|
||||||
- type: textarea
|
|
||||||
id: additional-context
|
|
||||||
attributes:
|
|
||||||
label: Additional Context
|
|
||||||
description: "*Optional: any other context about the problem: log messages, screenshots, etc.*"
|
|
||||||
- type: checkboxes
|
|
||||||
id: validations
|
|
||||||
attributes:
|
|
||||||
label: Validations
|
|
||||||
description: "Before submitting the issue, please make sure you do the following:"
|
|
||||||
options:
|
|
||||||
- label: Check that there isn't already an issue that reports the same bug
|
|
||||||
required: true
|
|
||||||
- label: Double check that your reproduction steps work in a fresh installation of [`silverstripe/installer`](https://github.com/silverstripe/silverstripe-installer) (with any code examples you've provided)
|
|
||||||
required: true
|
|
35
.github/ISSUE_TEMPLATE/2_feature_request.yml
vendored
35
.github/ISSUE_TEMPLATE/2_feature_request.yml
vendored
@ -1,35 +0,0 @@
|
|||||||
name: 🚀 Feature Request
|
|
||||||
description: Submit a feature request (but only if you're planning on implementing it)
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Please only submit feature requests if you plan on implementing the feature yourself.
|
|
||||||
See the [contributing code documentation](https://docs.silverstripe.org/en/contributing/code/#make-or-find-a-github-issue) for more guidelines about submitting feature requests.
|
|
||||||
- type: textarea
|
|
||||||
id: description
|
|
||||||
attributes:
|
|
||||||
label: Description
|
|
||||||
description: A clear and concise description of the new feature, and why it belongs in core
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: more-info
|
|
||||||
attributes:
|
|
||||||
label: Additional context or points of discussion
|
|
||||||
description: |
|
|
||||||
*Optional: Any additional context, points of discussion, etc that might help validate and refine your idea*
|
|
||||||
- type: checkboxes
|
|
||||||
id: validations
|
|
||||||
attributes:
|
|
||||||
label: Validations
|
|
||||||
description: "Before submitting the issue, please confirm the following:"
|
|
||||||
options:
|
|
||||||
- label: You intend to implement the feature yourself
|
|
||||||
required: true
|
|
||||||
- label: You have read the [contributing guide](https://docs.silverstripe.org/en/contributing/code/)
|
|
||||||
required: true
|
|
||||||
- label: You strongly believe this feature should be in core, rather than being its own community module
|
|
||||||
required: true
|
|
||||||
- label: You have checked for existing issues or pull requests related to this feature (and didn't find any)
|
|
||||||
required: true
|
|
8
.github/ISSUE_TEMPLATE/config.yml
vendored
8
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,8 +0,0 @@
|
|||||||
blank_issues_enabled: true
|
|
||||||
contact_links:
|
|
||||||
- name: Security Vulnerability
|
|
||||||
url: https://docs.silverstripe.org/en/contributing/issues_and_bugs/#reporting-security-issues
|
|
||||||
about: ⚠️ We do not use GitHub issues to track security vulnerability reports. Click "open" on the right to see how to report security vulnerabilities.
|
|
||||||
- name: Support Question
|
|
||||||
url: https://www.silverstripe.org/community/
|
|
||||||
about: We use GitHub issues only to discuss bugs and new features. For support questions, please use one of the support options available in our community channels.
|
|
39
.github/PULL_REQUEST_TEMPLATE.md
vendored
39
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -1,39 +0,0 @@
|
|||||||
<!--
|
|
||||||
Thanks for contributing, you're awesome! ⭐
|
|
||||||
|
|
||||||
Please read https://docs.silverstripe.org/en/contributing/code/ if you haven't contributed to this project recently.
|
|
||||||
-->
|
|
||||||
## Description
|
|
||||||
<!--
|
|
||||||
Please describe expected and observed behaviour, and what you're fixing.
|
|
||||||
For visual fixes, please include tested browsers and screenshots.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Manual testing steps
|
|
||||||
<!--
|
|
||||||
Include any manual testing steps here which a reviewer can perform to validate your pull request works correctly.
|
|
||||||
Note that this DOES NOT replace unit or end-to-end tests.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Issues
|
|
||||||
<!--
|
|
||||||
List all issues here that this pull request fixes/resolves.
|
|
||||||
If there is no issue already, create a new one! You must link your pull request to at least one issue.
|
|
||||||
-->
|
|
||||||
- #
|
|
||||||
|
|
||||||
## Pull request checklist
|
|
||||||
<!--
|
|
||||||
PLEASE check each of these to ensure you have done everything you need to do!
|
|
||||||
If there's something in this list you need help with, please ask so that we can assist you.
|
|
||||||
-->
|
|
||||||
- [ ] The target branch is correct
|
|
||||||
- See [picking the right version](https://docs.silverstripe.org/en/contributing/code/#picking-the-right-version)
|
|
||||||
- [ ] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
|
|
||||||
- Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.
|
|
||||||
- [ ] The commit messages follow our [commit message guidelines](https://docs.silverstripe.org/en/contributing/code/#commit-messages)
|
|
||||||
- [ ] The PR follows our [contribution guidelines](https://docs.silverstripe.org/en/contributing/code/)
|
|
||||||
- [ ] Code changes follow our [coding conventions](https://docs.silverstripe.org/en/contributing/coding_conventions/)
|
|
||||||
- [ ] This change is covered with tests (or tests aren't necessary for this change)
|
|
||||||
- [ ] Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
|
|
||||||
- [ ] CI is green
|
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -4,8 +4,13 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
# Every Sunday at 12:10pm UTC
|
||||||
|
schedule:
|
||||||
|
- cron: '10 12 * * 0'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: CI
|
name: CI
|
||||||
|
# Only run cron on the symbiote account
|
||||||
|
if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule')
|
||||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||||
|
21
.github/workflows/dispatch-ci.yml
vendored
21
.github/workflows/dispatch-ci.yml
vendored
@ -1,21 +0,0 @@
|
|||||||
name: Dispatch CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
# At 8:40 PM UTC, only on Sunday and Monday
|
|
||||||
schedule:
|
|
||||||
- cron: '40 20 * * 0,1'
|
|
||||||
|
|
||||||
permissions: {}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
dispatch-ci:
|
|
||||||
name: Dispatch CI
|
|
||||||
# Only run cron on the symbiote account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
actions: write
|
|
||||||
steps:
|
|
||||||
- name: Dispatch CI
|
|
||||||
uses: silverstripe/gha-dispatch-ci@v1
|
|
22
.github/workflows/merge-up.yml
vendored
22
.github/workflows/merge-up.yml
vendored
@ -1,22 +0,0 @@
|
|||||||
name: Merge-up
|
|
||||||
|
|
||||||
on:
|
|
||||||
# At 8:40 PM UTC, only on Thursday
|
|
||||||
schedule:
|
|
||||||
- cron: '40 20 * * 4'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions: {}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
merge-up:
|
|
||||||
name: Merge-up
|
|
||||||
# Only run cron on the symbiote account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
actions: write
|
|
||||||
steps:
|
|
||||||
- name: Merge-up
|
|
||||||
uses: silverstripe/gha-merge-up@v1
|
|
@ -6,8 +6,8 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ss.i18n.addDictionary('en', {
|
ss.i18n.addDictionary('en', {
|
||||||
"GridFieldExtensions.ADD_CLASS": "Add: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Are you sure you want to delete this?",
|
"GridFieldExtensions.CONFIRMDEL": "Are you sure you want to delete this?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Add: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open search and filter",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open search and filter",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Save & publish"
|
"GridFieldExtensions.SAVE_PUBLISH": "Save & publish"
|
||||||
});
|
});
|
||||||
|
@ -6,8 +6,8 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ss.i18n.addDictionary('eo', {
|
ss.i18n.addDictionary('eo', {
|
||||||
"GridFieldExtensions.ADD_CLASS": "Aldoni: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Ĉu vi certas ke vi volas forigi tion?",
|
"GridFieldExtensions.CONFIRMDEL": "Ĉu vi certas ke vi volas forigi tion?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Aldoni: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Malfermi serĉon kaj filtrilon",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Malfermi serĉon kaj filtrilon",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Konservi kaj publikigi"
|
"GridFieldExtensions.SAVE_PUBLISH": "Konservi kaj publikigi"
|
||||||
});
|
});
|
||||||
|
@ -6,8 +6,8 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ss.i18n.addDictionary('nl_NL', {
|
ss.i18n.addDictionary('nl_NL', {
|
||||||
"GridFieldExtensions.ADD_CLASS": "Toevoegen: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Weet je zeker dat je dit wil verwijderen?",
|
"GridFieldExtensions.CONFIRMDEL": "Weet je zeker dat je dit wil verwijderen?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Toevoegen: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open zoeken en filteren",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open zoeken en filteren",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Opslaan & Publiceren"
|
"GridFieldExtensions.SAVE_PUBLISH": "Opslaan & Publiceren"
|
||||||
});
|
});
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
// This file was generated by silverstripe/tx-translator from client/lang/src/sk.json.
|
|
||||||
// See https://github.com/silverstripe/silverstripe-tx-translator for details
|
|
||||||
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
|
|
||||||
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
|
|
||||||
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
ss.i18n.addDictionary('sk', {
|
|
||||||
"GridFieldExtensions.ADD_CLASS": "Pridať: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Naozaj to chcete odstrániť?",
|
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Otvorte vyhľadávanie a filter",
|
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Uložiť a zverejniť"
|
|
||||||
});
|
|
||||||
}
|
|
@ -6,8 +6,8 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ss.i18n.addDictionary('sl', {
|
ss.i18n.addDictionary('sl', {
|
||||||
"GridFieldExtensions.ADD_CLASS": "Dodaj: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Res želite to izbrisati?",
|
"GridFieldExtensions.CONFIRMDEL": "Res želite to izbrisati?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Dodaj: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Prikaži iskalnik in filtre",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Prikaži iskalnik in filtre",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Shrani in objavi"
|
"GridFieldExtensions.SAVE_PUBLISH": "Shrani in objavi"
|
||||||
});
|
});
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"GridFieldExtensions.ADD_CLASS": "Add: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Are you sure you want to delete this?",
|
"GridFieldExtensions.CONFIRMDEL": "Are you sure you want to delete this?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Add: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open search and filter",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open search and filter",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Save & publish"
|
"GridFieldExtensions.SAVE_PUBLISH": "Save & publish"
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"GridFieldExtensions.ADD_CLASS": "Aldoni: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Ĉu vi certas ke vi volas forigi tion?",
|
"GridFieldExtensions.CONFIRMDEL": "Ĉu vi certas ke vi volas forigi tion?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Aldoni: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Malfermi serĉon kaj filtrilon",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Malfermi serĉon kaj filtrilon",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Konservi kaj publikigi"
|
"GridFieldExtensions.SAVE_PUBLISH": "Konservi kaj publikigi"
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"GridFieldExtensions.ADD_CLASS": "Toevoegen: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Weet je zeker dat je dit wil verwijderen?",
|
"GridFieldExtensions.CONFIRMDEL": "Weet je zeker dat je dit wil verwijderen?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Toevoegen: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open zoeken en filteren",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Open zoeken en filteren",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Opslaan & Publiceren"
|
"GridFieldExtensions.SAVE_PUBLISH": "Opslaan & Publiceren"
|
||||||
}
|
}
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"GridFieldExtensions.ADD_CLASS": "Pridať: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Naozaj to chcete odstrániť?",
|
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Otvorte vyhľadávanie a filter",
|
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Uložiť a zverejniť"
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"GridFieldExtensions.ADD_CLASS": "Dodaj: <i>{classname}</i>",
|
|
||||||
"GridFieldExtensions.CONFIRMDEL": "Res želite to izbrisati?",
|
"GridFieldExtensions.CONFIRMDEL": "Res želite to izbrisati?",
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "Dodaj: <i>{classname}</i>",
|
||||||
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Prikaži iskalnik in filtre",
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Prikaži iskalnik in filtre",
|
||||||
"GridFieldExtensions.SAVE_PUBLISH": "Shrani in objavi"
|
"GridFieldExtensions.SAVE_PUBLISH": "Shrani in objavi"
|
||||||
}
|
}
|
@ -215,7 +215,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
.grid-field-inline-new--multi-class-list a {
|
.grid-field-inline-new--multi-class-list a {
|
||||||
color: #FFF !important;
|
color: #FFF;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 5px -10px;
|
margin: 5px -10px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
@ -5,14 +5,14 @@ nl_NL:
|
|||||||
GridFieldExtensions:
|
GridFieldExtensions:
|
||||||
ADD: Toevoegen
|
ADD: Toevoegen
|
||||||
ADDEXISTING: 'Bestaande toevoegen'
|
ADDEXISTING: 'Bestaande toevoegen'
|
||||||
|
SEARCH: Zoeken
|
||||||
|
SELECTTYPETOCREATE: '(Selecteer type om te creeën)'
|
||||||
BACK: Terug
|
BACK: Terug
|
||||||
CURRENT: (huidige)
|
CURRENT: (huidige)
|
||||||
NOITEMS: 'Er zijn geen items.'
|
NOITEMS: 'Er zijn geen items.'
|
||||||
Next: Volgende
|
Next: Volgende
|
||||||
PREVIOUS: Vorige
|
PREVIOUS: Vorige
|
||||||
RESULTS: Resultaten
|
RESULTS: Resultaten
|
||||||
SEARCH: Zoeken
|
|
||||||
SELECTTYPETOCREATE: '(Selecteer type om te creeën)'
|
|
||||||
Symbiote\GridFieldExtensions\Extensions\GridFieldDetailFormItemRequestExtension:
|
Symbiote\GridFieldExtensions\Extensions\GridFieldDetailFormItemRequestExtension:
|
||||||
NEW: 'Nieuw item maken'
|
NEW: 'Nieuw item maken'
|
||||||
Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
|
Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
|
||||||
|
12
lang/sk.yml
12
lang/sk.yml
@ -5,15 +5,5 @@ sk:
|
|||||||
GridFieldExtensions:
|
GridFieldExtensions:
|
||||||
ADD: Pridať
|
ADD: Pridať
|
||||||
ADDEXISTING: 'Pridať existujúci'
|
ADDEXISTING: 'Pridať existujúci'
|
||||||
BACK: Späť
|
|
||||||
CURRENT: (aktuálny)
|
|
||||||
NOITEMS: 'Nie sú k dispozícii žiadne položky.'
|
|
||||||
Next: Ďalší
|
|
||||||
PREVIOUS: Predchádzajúci
|
|
||||||
RESULTS: Výsledky
|
|
||||||
SEARCH: Hľadať
|
SEARCH: Hľadať
|
||||||
SELECTTYPETOCREATE: '(Vyberte typ na vytvorenie)'
|
SELECTTYPETOCREATE: '(Prosím, vyberte typ)'
|
||||||
Symbiote\GridFieldExtensions\Extensions\GridFieldDetailFormItemRequestExtension:
|
|
||||||
NEW: 'Pridať nový záznam'
|
|
||||||
Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
|
|
||||||
SHOW: Zobraziť
|
|
||||||
|
@ -94,7 +94,7 @@ class GridFieldAddExistingSearchHandler extends RequestHandler
|
|||||||
|
|
||||||
public function doSearch($data, $form)
|
public function doSearch($data, $form)
|
||||||
{
|
{
|
||||||
$list = $this->context->getQuery($data, false, null, $this->getSearchList());
|
$list = $this->context->getQuery($data, false, false, $this->getSearchList());
|
||||||
$list = $list->subtract($this->grid->getList());
|
$list = $list->subtract($this->grid->getList());
|
||||||
$list = PaginatedList::create($list, $this->request);
|
$list = PaginatedList::create($list, $this->request);
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ use SilverStripe\ORM\DataList;
|
|||||||
use SilverStripe\ORM\DataObject;
|
use SilverStripe\ORM\DataObject;
|
||||||
use SilverStripe\ORM\DataObjectInterface;
|
use SilverStripe\ORM\DataObjectInterface;
|
||||||
use SilverStripe\ORM\ManyManyList;
|
use SilverStripe\ORM\ManyManyList;
|
||||||
use SilverStripe\ORM\ManyManyThroughList;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows inline editing of grid field records without having to load a separate
|
* Allows inline editing of grid field records without having to load a separate
|
||||||
@ -166,7 +165,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($list instanceof ManyManyList || $list instanceof ManyManyThroughList) {
|
if ($list instanceof ManyManyList) {
|
||||||
$extra = array_intersect_key($form->getData() ?? [], (array) $list->getExtraFields());
|
$extra = array_intersect_key($form->getData() ?? [], (array) $list->getExtraFields());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -251,7 +250,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$field && ($list instanceof ManyManyList || $list instanceof ManyManyThroughList)) {
|
if (!$field && $list instanceof ManyManyList) {
|
||||||
$extra = $list->getExtraFields();
|
$extra = $list->getExtraFields();
|
||||||
|
|
||||||
if ($extra && array_key_exists($col, $extra ?? [])) {
|
if ($extra && array_key_exists($col, $extra ?? [])) {
|
||||||
|
@ -456,10 +456,7 @@ class GridFieldOrderableRows extends RequestHandler implements
|
|||||||
$this->httpError(400);
|
$this->httpError(400);
|
||||||
}
|
}
|
||||||
|
|
||||||
Controller::curr()->getResponse()->addHeader(
|
Controller::curr()->getResponse()->addHeader('X-Status', rawurlencode('Records reordered.'));
|
||||||
'X-Status',
|
|
||||||
rawurlencode(_t(__CLASS__ . '.REORDERED', 'Records reordered.'))
|
|
||||||
);
|
|
||||||
return $grid->FieldHolder();
|
return $grid->FieldHolder();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user