Compare commits

...

14 Commits
4.13.0 ... 4

Author SHA1 Message Date
github-actions 6942278b41 Merge branch '4.13' into 4 2024-02-09 11:04:20 +00:00
Guy Sartorelli c9c6c3ff1e
TLN Update translations (#176) 2024-02-08 13:29:26 +13:00
Guy Sartorelli f5b5daa711
TLN Update translations (#175) 2024-02-07 16:10:59 +13:00
github-actions aa3d0a3b6a Merge branch '4.13' into 4 2023-09-29 11:04:25 +00:00
Guy Sartorelli aa085022a1
Merge pull request #169 from heyday/4
FIX broken URL builder when using MultiSelectFields as parameters
2023-09-26 10:35:41 +13:00
Will Rossiter a25d0432c4
FIX broken URL builder when using MultiSelectFields as parameters 2023-09-21 13:21:46 +12:00
github-actions 030c56777c Merge branch '4.13' into 4 2023-08-25 11:04:27 +00:00
Guy Sartorelli 03869a7535
ENH Update translations (#167) 2023-08-21 12:56:04 +12:00
Steve Boyd 2c3f2ca64d Merge branch '4.13' into 4 2023-06-16 10:39:53 +12:00
Guy Sartorelli 92b5d968da
Merge pull request #164 from creative-commoners/pulls/4.13/tx-1686724792
ENH Update translations
2023-06-15 10:06:10 +12:00
Steve Boyd f6aee12f07 ENH Update translations 2023-06-14 18:39:52 +12:00
Guy Sartorelli 2db20aba1a
Merge branch '4.13' into 4 2023-04-26 12:44:49 +12:00
Maxime Rainville 48b103bf97
Merge pull request #160 from creative-commoners/pulls/4/dispatch-ci
MNT Use gha-dispatch-ci
2023-03-23 12:09:00 +13:00
Steve Boyd 454a3df1e7 MNT Use gha-dispatch-ci 2023-03-21 12:16:32 +13:00
7 changed files with 59 additions and 21 deletions

View File

@ -4,13 +4,8 @@ on:
push:
pull_request:
workflow_dispatch:
# Every Monday at 11:00am UTC
schedule:
- cron: '0 11 * * 1'
jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

16
.github/workflows/dispatch-ci.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Dispatch CI
on:
# At 11:00 AM UTC, only on Monday and Tuesday
schedule:
- cron: '0 11 * * 1,2'
jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1

View File

@ -2,17 +2,32 @@
* File: ReportAdmin.js
*/
(function($) {
$.entwine('ss', function($){
$('.ReportAdmin .cms-edit-form').entwine({
onsubmit: function(e) {
var url = $.path.parseUrl(document.location.href).hrefNoSearch,
params = this.find(':input[name^=filters]').serializeArray();
params = $.grep(params, function(param) {return (param.value);}); // filter out empty
if(params) url = $.path.addSearchParams(url, $.param(params));
$('.cms-container').loadPanel(url);
return false;
}
});
});
(function ($) {
$.entwine("ss", function ($) {
$(".ReportAdmin .cms-edit-form").entwine({
onsubmit: function (e) {
let url = $.path.parseUrl(document.location.href).hrefNoSearch;
let params = this.find(":input[name^=filters]").serializeArray();
try {
params = $.grep(params, function (param) {
// filter out empty
return param.value;
});
// convert params to a query string
params = $.param(params);
// append query string to url
url += "?" + params;
$(".cms-container").loadPanel(url);
} catch (err) {
console.error(err);
}
return false;
},
});
});
})(jQuery);

View File

@ -1,4 +1,8 @@
en:
SilverStripe\CMS\Controllers\CMSPageHistoryController:
PREVIEW: 'Website preview'
SilverStripe\Forms\GridField\GridField:
Filter: Filter
SilverStripe\Reports\ReportAdmin:
MENUTITLE: Reports
ReportTitle: Title

View File

@ -1,4 +1,8 @@
eo:
SilverStripe\CMS\Controllers\CMSPageHistoryController:
PREVIEW: 'Retejon antaŭvidi'
SilverStripe\Forms\GridField\GridField:
Filter: Filtrilo
SilverStripe\Reports\ReportAdmin:
MENUTITLE: Raportoj
ReportTitle: Titoloj

View File

@ -1,7 +1,9 @@
sk:
SilverStripe\CMS\Controllers\CMSPageHistoryController:
PREVIEW: 'Náhľad webovej stránky'
SilverStripe\Reports\ReportAdmin:
MENUTITLE: Výkazy
ReportTitle: Titulok
MENUTITLE: Správy
ReportTitle: Názov
SilverStripe\Reports\SideReport:
OtherGroupTitle: Iné
REPEMPTY: 'Výkaz {title} je prázdny.'
REPEMPTY: 'Správa {title} je prázdna.'

View File

@ -1,4 +1,6 @@
sv:
SilverStripe\CMS\Controllers\CMSPageHistoryController:
PREVIEW: 'Webbplats förhandsvisning'
SilverStripe\Reports\ReportAdmin:
MENUTITLE: Rapporter
ReportTitle: Titel