From d09cc1533e858290b3cfa3d4eb3906453e3b2fe9 Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 16 Jan 2018 15:25:56 +0100 Subject: [baseconfig_partitions_cdn] implemented permission-system. you can only see site if you have atleast one permission. fixed the save-button (it's working now!). Didn't know what to do with this download-button. --- .../baseconfig_partitions_cdn/lang/de/permissions.json | 7 +++++++ .../baseconfig_partitions_cdn/lang/en/permissions.json | 7 +++++++ .../baseconfig_partitions_cdn/lang/en/template-tags.json | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 modules-available/baseconfig_partitions_cdn/lang/de/permissions.json create mode 100644 modules-available/baseconfig_partitions_cdn/lang/en/permissions.json (limited to 'modules-available/baseconfig_partitions_cdn/lang') diff --git a/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json b/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json new file mode 100644 index 00000000..35c21e09 --- /dev/null +++ b/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json @@ -0,0 +1,7 @@ +{ + "show": "Zeige Partitionen. Wird nicht benötigt, wenn Nutzer eine der anderen Rechte hat.", + "add": "Füge eine neue Partition hinzu.", + "delete": "Lösche eine Partition.", + "edit": "Speichere Änderungen an Partitionen.", + "reset": "Setze Partitionen auf Standardwerte zurück." +} \ No newline at end of file diff --git a/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json b/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json new file mode 100644 index 00000000..49742618 --- /dev/null +++ b/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json @@ -0,0 +1,7 @@ +{ + "show": "Show Partitions. Not needed if User has any of the other permissions.", + "add": "Add a new partition.", + "delete": "Delete a partition.", + "edit": "Save changes of partitions.", + "reset": "Reset partitions to default." +} \ No newline at end of file diff --git a/modules-available/baseconfig_partitions_cdn/lang/en/template-tags.json b/modules-available/baseconfig_partitions_cdn/lang/en/template-tags.json index 04ce6c80..472e5870 100644 --- a/modules-available/baseconfig_partitions_cdn/lang/en/template-tags.json +++ b/modules-available/baseconfig_partitions_cdn/lang/en/template-tags.json @@ -1,9 +1,9 @@ { "lang_areYouSureNoUndo": "Are you sure? This cannot be undone!", - "lang_confirm": "Would you like to save the settings on [ \/srv\/openslx\/www\/boot\/config ] ?", + "lang_confirm": "Would you like to save the settings on \/srv\/openslx\/www\/boot\/config?", "lang_create": "Create", "lang_discardChanges": "Discard Changes", - "lang_explanationText": "Here you can configure what kind of partitions will be created on the client computers, and where they will be mounted", + "lang_explanationText": "Here you can configure what kind of partitions will be created on the client computers, and where they will be mounted.", "lang_helpId": "Partition Id", "lang_helpMountPoint": "Must be a directory: \/example\/directory\/", "lang_helpOptions": "Currently, only option 'bootable' is available", -- cgit v1.2.3-55-g7522 From e8a20be927006348974adc48ce34951f8a314b8c Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 16 Jan 2018 16:55:16 +0100 Subject: [baseconfig_partitions_cdn] updated permission-descriptions --- .../baseconfig_partitions_cdn/lang/de/permissions.json | 8 ++++---- .../baseconfig_partitions_cdn/lang/en/permissions.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'modules-available/baseconfig_partitions_cdn/lang') diff --git a/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json b/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json index 35c21e09..d5805e3d 100644 --- a/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json +++ b/modules-available/baseconfig_partitions_cdn/lang/de/permissions.json @@ -1,7 +1,7 @@ { "show": "Zeige Partitionen. Wird nicht benötigt, wenn Nutzer eine der anderen Rechte hat.", - "add": "Füge eine neue Partition hinzu.", - "delete": "Lösche eine Partition.", - "edit": "Speichere Änderungen an Partitionen.", - "reset": "Setze Partitionen auf Standardwerte zurück." + "partitions.add": "Füge eine neue Partition hinzu.", + "partitions.delete": "Lösche eine Partition.", + "partitions.edit": "Speichere Änderungen an Partitionen.", + "partitions.reset": "Setze Partitionen auf Standardwerte zurück." } \ No newline at end of file diff --git a/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json b/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json index 49742618..f751a839 100644 --- a/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json +++ b/modules-available/baseconfig_partitions_cdn/lang/en/permissions.json @@ -1,7 +1,7 @@ { "show": "Show Partitions. Not needed if User has any of the other permissions.", - "add": "Add a new partition.", - "delete": "Delete a partition.", - "edit": "Save changes of partitions.", - "reset": "Reset partitions to default." + "partitions.add": "Add a new partition.", + "partitions.delete": "Delete a partition.", + "partitions.edit": "Save changes of partitions.", + "partitions.reset": "Reset partitions to default." } \ No newline at end of file -- cgit v1.2.3-55-g7522