scrivito_ui 1.10.0.rc2 → 1.10.0.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/scrivito_ui.js +24 -12
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0260dfaad3348b1a24fb1262992917d67f0eab93
|
|
4
|
+
data.tar.gz: 9b679051071751ebb0331c5018617fc0486c9121
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3f207c6cba01966ee13c7c598f7713313021814b9c2d82addbda3ab33d913b30dc15f2c591f413b9abc6811138b0ef9f49e142f7a43c57bb1c0e67b77fc7066
|
|
7
|
+
data.tar.gz: 5f20c97a349754076e1e1e3d8635cdb03caaef51bdf2aeb9b06416f7fdf9d2d74cfcf3791cf1ab6706ac1b322d9ac725f389ed0c4ee3bdaeb8199c5e0aa84701
|
|
@@ -51232,14 +51232,15 @@ function copyObjFromClipboardCommand(objId) {
|
|
|
51232
51232
|
},
|
|
51233
51233
|
icon: '',
|
|
51234
51234
|
|
|
51235
|
-
present: function present() {
|
|
51236
|
-
return scrivito.objClipboard.isPresent();
|
|
51237
|
-
},
|
|
51238
51235
|
disabled: function disabled() {
|
|
51239
51236
|
if (!scrivito.editingContext.isMutable()) {
|
|
51240
51237
|
return scrivito.t(translationPrefix + '.published_workspace');
|
|
51241
51238
|
}
|
|
51242
51239
|
|
|
51240
|
+
if (!scrivito.objClipboard.isPresent()) {
|
|
51241
|
+
return scrivito.t(translationPrefix + '.obj_not_present');
|
|
51242
|
+
}
|
|
51243
|
+
|
|
51243
51244
|
if (!obj().path) {
|
|
51244
51245
|
return scrivito.t(translationPrefix + '.no_path');
|
|
51245
51246
|
}
|
|
@@ -51593,10 +51594,11 @@ function legacyCopyObjFromClipboardCommand(childListElement) {
|
|
|
51593
51594
|
title: scrivito.t('commands.copy_obj_from_clipboard.child_list.title'),
|
|
51594
51595
|
icon: '',
|
|
51595
51596
|
|
|
51596
|
-
present: function present() {
|
|
51597
|
-
return scrivito.objClipboard.isPresent();
|
|
51598
|
-
},
|
|
51599
51597
|
disabled: function disabled() {
|
|
51598
|
+
if (!scrivito.objClipboard.isPresent()) {
|
|
51599
|
+
return scrivito.t('commands.copy_obj_from_clipboard.child_list.obj_not_present');
|
|
51600
|
+
}
|
|
51601
|
+
|
|
51600
51602
|
var objClass = scrivito.objClipboard.objClass;
|
|
51601
51603
|
|
|
51602
51604
|
if (!childListElement.isValidChildClass(objClass)) {
|
|
@@ -51645,10 +51647,11 @@ function legacyMoveObjFromClipboardCommand(childListElement) {
|
|
|
51645
51647
|
title: scrivito.t('commands.move_obj_from_clipboard.child_list.title'),
|
|
51646
51648
|
icon: '',
|
|
51647
51649
|
|
|
51648
|
-
present: function present() {
|
|
51649
|
-
return scrivito.objClipboard.isPresent();
|
|
51650
|
-
},
|
|
51651
51650
|
disabled: function disabled() {
|
|
51651
|
+
if (!scrivito.objClipboard.isPresent()) {
|
|
51652
|
+
return scrivito.t('commands.move_obj_from_clipboard.child_list.forbidden.obj_not_present');
|
|
51653
|
+
}
|
|
51654
|
+
|
|
51652
51655
|
if (scrivito.objClipboard.workspaceId !== scrivito.editingContext.selectedWorkspaceId) {
|
|
51653
51656
|
return scrivito.t('commands.move_obj_from_clipboard.child_list.forbidden.invalid_workspace');
|
|
51654
51657
|
}
|
|
@@ -51840,14 +51843,15 @@ function moveObjFromClipboardCommand(objId) {
|
|
|
51840
51843
|
},
|
|
51841
51844
|
icon: '',
|
|
51842
51845
|
|
|
51843
|
-
present: function present() {
|
|
51844
|
-
return scrivito.objClipboard.isPresent();
|
|
51845
|
-
},
|
|
51846
51846
|
disabled: function disabled() {
|
|
51847
51847
|
if (!scrivito.editingContext.isMutable()) {
|
|
51848
51848
|
return scrivito.t(translationPrefix + '.forbidden.invalid_workspace');
|
|
51849
51849
|
}
|
|
51850
51850
|
|
|
51851
|
+
if (!scrivito.objClipboard.isPresent()) {
|
|
51852
|
+
return scrivito.t(translationPrefix + '.forbidden.obj_not_present');
|
|
51853
|
+
}
|
|
51854
|
+
|
|
51851
51855
|
if (scrivito.objClipboard.workspaceId !== scrivito.editingContext.selectedWorkspaceId) {
|
|
51852
51856
|
return scrivito.t(translationPrefix + '.forbidden.invalid_workspace');
|
|
51853
51857
|
}
|
|
@@ -72115,21 +72119,25 @@ scrivito.i18n.load('de', {
|
|
|
72115
72119
|
'commands.copy_obj_from_clipboard.child_list.title': 'Seite hier einfügen',
|
|
72116
72120
|
'commands.copy_obj_from_clipboard.child_list.tooltip': 'Seite "$1" unterhalb von "$2" einfügen.',
|
|
72117
72121
|
'commands.copy_obj_from_clipboard.child_list.published_workspace': 'Verwenden Sie eine Arbeitskopie, um Unterseiten hinzuzufügen.',
|
|
72122
|
+
'commands.copy_obj_from_clipboard.child_list.obj_not_present': 'Es befindet sich keine Seite in der Zwischenablage',
|
|
72118
72123
|
'commands.copy_obj_from_clipboard.current_page.no_path': 'Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben. Die aktuelle Seite hat keinen Pfad.',
|
|
72119
72124
|
'commands.copy_obj_from_clipboard.current_page.paste_forbidden': 'Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder eingefügt werden: $1',
|
|
72120
72125
|
'commands.copy_obj_from_clipboard.current_page.title': 'Als Unterseite einfügen',
|
|
72121
72126
|
'commands.copy_obj_from_clipboard.current_page.tooltip': 'Erstelle eine Kopie von "$1" und verwende sie als eine Unterseite von "$2".',
|
|
72122
72127
|
'commands.copy_obj_from_clipboard.current_page.published_workspace': 'Verwenden Sie eine Arbeitskopie, um Unterseiten hinzuzufügen.',
|
|
72128
|
+
'commands.copy_obj_from_clipboard.current_page.obj_not_present': 'Es befindet sich keine Seite in der Zwischenablage',
|
|
72123
72129
|
|
|
72124
72130
|
'commands.move_obj_from_clipboard.child_list.forbidden.invalid_class': 'Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder kopiert werden: $1',
|
|
72125
72131
|
'commands.move_obj_from_clipboard.child_list.forbidden.invalid_workspace': 'Eine Seite kann nur innerhalb ihrer Arbeitskopie verschoben werden.',
|
|
72126
72132
|
'commands.move_obj_from_clipboard.child_list.forbidden.no_path': 'Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben.',
|
|
72133
|
+
'commands.move_obj_from_clipboard.child_list.forbidden.obj_not_present': 'Es befindet sich keine Seite in der Zwischenablage',
|
|
72127
72134
|
'commands.move_obj_from_clipboard.child_list.source_not_found': 'Die zu verschiebende Seite konnte in der aktuellen Arbeitskopie nicht gefunden werden.',
|
|
72128
72135
|
'commands.move_obj_from_clipboard.child_list.title': 'Seite hierher verschieben',
|
|
72129
72136
|
'commands.move_obj_from_clipboard.child_list.tooltip': 'Seite "$1" unterhalb von "$2" verschieben.',
|
|
72130
72137
|
'commands.move_obj_from_clipboard.current_page.forbidden.invalid_class': 'Aufgrund ihres Typs kann die Seite hier nicht eingefügt werden. Nur Seiten der folgenden Typen können hierher verschoben oder hier eingefügt werden: $1',
|
|
72131
72138
|
'commands.move_obj_from_clipboard.current_page.forbidden.invalid_workspace': 'Eine Seite kann nur innerhalb ihrer Arbeitskopie verschoben werden.',
|
|
72132
72139
|
'commands.move_obj_from_clipboard.current_page.forbidden.no_path': 'Unterseiten können nur zu Seiten hinzugefügt werden, die einen Pfad haben. Die aktuelle Seite hat keinen Pfad.',
|
|
72140
|
+
'commands.move_obj_from_clipboard.current_page.forbidden.obj_not_present': 'Es befindet sich keine Seite in der Zwischenablage',
|
|
72133
72141
|
'commands.move_obj_from_clipboard.current_page.source_not_found': 'Die zu verschiebende Seite konnte in der aktuellen Arbeitskopie nicht gefunden werden.',
|
|
72134
72142
|
'commands.move_obj_from_clipboard.current_page.title': 'Als Unterseite hierher verschieben',
|
|
72135
72143
|
'commands.move_obj_from_clipboard.current_page.tooltip': 'Füge "$1" als Unterseite von "$2" ein.',
|
|
@@ -72533,21 +72541,25 @@ scrivito.i18n.load('en', {
|
|
|
72533
72541
|
'commands.copy_obj_from_clipboard.child_list.title': 'Paste page here',
|
|
72534
72542
|
'commands.copy_obj_from_clipboard.child_list.tooltip': 'Paste "$1" to "$2".',
|
|
72535
72543
|
'commands.copy_obj_from_clipboard.child_list.published_workspace': 'Use a working copy to add subpages.',
|
|
72544
|
+
'commands.copy_obj_from_clipboard.child_list.obj_not_present': 'There is no page on the clipboard',
|
|
72536
72545
|
'commands.copy_obj_from_clipboard.current_page.no_path': "Subpages can only be added to pages that have a path. The current page doesn't have a path.",
|
|
72537
72546
|
'commands.copy_obj_from_clipboard.current_page.paste_forbidden': 'Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1',
|
|
72538
72547
|
'commands.copy_obj_from_clipboard.current_page.title': 'Paste as subpage',
|
|
72539
72548
|
'commands.copy_obj_from_clipboard.current_page.tooltip': 'Create a copy of "$1" and use it as a subpage of "$2".',
|
|
72540
72549
|
'commands.copy_obj_from_clipboard.current_page.published_workspace': 'Use a working copy to add subpages.',
|
|
72550
|
+
'commands.copy_obj_from_clipboard.current_page.obj_not_present': 'There is no page on the clipboard',
|
|
72541
72551
|
|
|
72542
72552
|
'commands.move_obj_from_clipboard.child_list.forbidden.invalid_class': 'Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1',
|
|
72543
72553
|
'commands.move_obj_from_clipboard.child_list.forbidden.invalid_workspace': 'A page can only be moved within its working copy.',
|
|
72544
72554
|
'commands.move_obj_from_clipboard.child_list.forbidden.no_path': 'Subpages can only be added to pages that have a path.',
|
|
72545
72555
|
'commands.move_obj_from_clipboard.child_list.source_not_found': 'The page to move could not be found in the current working copy.',
|
|
72556
|
+
'commands.move_obj_from_clipboard.child_list.forbidden.obj_not_present': 'There is no page on the clipboard',
|
|
72546
72557
|
'commands.move_obj_from_clipboard.child_list.title': 'Move page here',
|
|
72547
72558
|
'commands.move_obj_from_clipboard.child_list.tooltip': 'Move "$1" to "$2".',
|
|
72548
72559
|
'commands.move_obj_from_clipboard.current_page.forbidden.invalid_class': 'Due to its type, the page cannot be moved or pasted here. Only pages of the following types can be inserted here: $1',
|
|
72549
72560
|
'commands.move_obj_from_clipboard.current_page.forbidden.invalid_workspace': 'A page can only be moved within its working copy.',
|
|
72550
72561
|
'commands.move_obj_from_clipboard.current_page.forbidden.no_path': "Subpages can only be added to pages that have a path. The current page doesn't have a path.",
|
|
72562
|
+
'commands.move_obj_from_clipboard.current_page.forbidden.obj_not_present': 'There is no page on the clipboard',
|
|
72551
72563
|
'commands.move_obj_from_clipboard.current_page.source_not_found': 'The page to move could not be found in the current working copy.',
|
|
72552
72564
|
'commands.move_obj_from_clipboard.current_page.title': 'Move here as subpage',
|
|
72553
72565
|
'commands.move_obj_from_clipboard.current_page.tooltip': 'Insert "$1" as a subpage of "$2".',
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scrivito_ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.0.
|
|
4
|
+
version: 1.10.0.rc3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scrivito
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-06-
|
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|