summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-22 07:08:23 -0500
committerPeter Kozak <spag@golwen.net>2013-02-22 07:08:23 -0500
commit2a9b798f9e122582abb36605a7d4a1da0e70eca9 (patch)
tree45fe362d677cb243fba57dc7c0c23d01e653863e /config
parentd6009d77ffa221c14a4536be98a04e8e4b6474a9 (diff)
pickup group permission model added
Diffstat (limited to 'config')
-rw-r--r--config/locales/views/group_memberships/de.yml50
-rw-r--r--config/locales/views/group_memberships/en.yml50
-rw-r--r--config/locales/views/group_permissions/de.yml50
-rw-r--r--config/locales/views/group_permissions/en.yml50
-rw-r--r--config/locales/views/groups/de.yml50
-rw-r--r--config/locales/views/groups/en.yml50
-rw-r--r--config/routes.rb5
7 files changed, 305 insertions, 0 deletions
diff --git a/config/locales/views/group_memberships/de.yml b/config/locales/views/group_memberships/de.yml
new file mode 100644
index 0000000..7fdc100
--- /dev/null
+++ b/config/locales/views/group_memberships/de.yml
@@ -0,0 +1,50 @@
+de:
+ group_memberships:
+ name: 'Groupmembership'
+ controller:
+ successfuly_created: 'Groupmembership wurde angelegt.'
+ successfuly_updated: 'Groupmembership wurde aktualisiert.'
+ successfuly_destroyed: 'Groupmembership wurde gelöscht.'
+ index:
+ page_title: 'Übersicht von Groupmembership'
+ group_id: 'Group'
+ item_type: 'Item type'
+ item_id: 'Item'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Groupmembership'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ show: 'Anzeigen'
+ create: 'Neu anlegen'
+ create_for: 'Groupmembership neu anlegen für %{resource}'
+ show:
+ page_title: 'Groupmembership bearbeiten'
+ group_id: 'Group'
+ item_type: 'Item type'
+ item_id: 'Item'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ new:
+ page_title: 'Groupmembership neu anlegen'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit:
+ page_title: 'Groupmembership bearbeiten'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ form:
+ group_id:
+ label: 'Group'
+ hint: ''
+ item_type:
+ label: 'Item type'
+ hint: ''
+ item_id:
+ label: 'Item'
+ hint: ''
+ submit: 'Absenden' \ No newline at end of file
diff --git a/config/locales/views/group_memberships/en.yml b/config/locales/views/group_memberships/en.yml
new file mode 100644
index 0000000..35740a3
--- /dev/null
+++ b/config/locales/views/group_memberships/en.yml
@@ -0,0 +1,50 @@
+en:
+ group_memberships:
+ name: 'Groupmembership'
+ controller:
+ successfuly_created: 'Successfully created Groupmembership.'
+ successfuly_updated: 'Successfully updated Groupmembership.'
+ successfuly_destroyed: 'Successfully destroyed Groupmembership.'
+ index:
+ page_title: 'Listing Groupmembership'
+ group_id: 'Group'
+ item_type: 'Item type'
+ item_id: 'Item'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this Groupmembership?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ show: 'View'
+ create: 'New'
+ create_for: 'New Groupmembership for %{resource}'
+ show:
+ page_title: 'Show Groupmembership'
+ group_id: 'Group'
+ item_type: 'Item type'
+ item_id: 'Item'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this element?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ view_all: 'View All'
+ new:
+ page_title: 'New Groupmembership'
+ actions:
+ back_to_list: 'Back to Index'
+ edit:
+ page_title: 'Editing Groupmembership'
+ actions:
+ back_to_list: 'Back to Index'
+ edit: 'Edit'
+ view_all: 'View All'
+ form:
+ group_id:
+ label: 'Group'
+ hint: ''
+ item_type:
+ label: 'Item type'
+ hint: ''
+ item_id:
+ label: 'Item'
+ hint: ''
+ submit: 'Submit' \ No newline at end of file
diff --git a/config/locales/views/group_permissions/de.yml b/config/locales/views/group_permissions/de.yml
new file mode 100644
index 0000000..c075830
--- /dev/null
+++ b/config/locales/views/group_permissions/de.yml
@@ -0,0 +1,50 @@
+de:
+ group_permissions:
+ name: 'Grouppermission'
+ controller:
+ successfuly_created: 'Grouppermission wurde angelegt.'
+ successfuly_updated: 'Grouppermission wurde aktualisiert.'
+ successfuly_destroyed: 'Grouppermission wurde gelöscht.'
+ index:
+ page_title: 'Übersicht von Grouppermission'
+ group_id: 'Group'
+ permission: 'Permission'
+ target_group_id: 'Target group'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Grouppermission'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ show: 'Anzeigen'
+ create: 'Neu anlegen'
+ create_for: 'Grouppermission neu anlegen für %{resource}'
+ show:
+ page_title: 'Grouppermission bearbeiten'
+ group_id: 'Group'
+ permission: 'Permission'
+ target_group_id: 'Target group'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ new:
+ page_title: 'Grouppermission neu anlegen'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit:
+ page_title: 'Grouppermission bearbeiten'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ form:
+ group_id:
+ label: 'Group'
+ hint: ''
+ permission:
+ label: 'Permission'
+ hint: ''
+ target_group_id:
+ label: 'Target group'
+ hint: ''
+ submit: 'Absenden' \ No newline at end of file
diff --git a/config/locales/views/group_permissions/en.yml b/config/locales/views/group_permissions/en.yml
new file mode 100644
index 0000000..2a5f48e
--- /dev/null
+++ b/config/locales/views/group_permissions/en.yml
@@ -0,0 +1,50 @@
+en:
+ group_permissions:
+ name: 'Grouppermission'
+ controller:
+ successfuly_created: 'Successfully created Grouppermission.'
+ successfuly_updated: 'Successfully updated Grouppermission.'
+ successfuly_destroyed: 'Successfully destroyed Grouppermission.'
+ index:
+ page_title: 'Listing Grouppermission'
+ group_id: 'Group'
+ permission: 'Permission'
+ target_group_id: 'Target group'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this Grouppermission?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ show: 'View'
+ create: 'New'
+ create_for: 'New Grouppermission for %{resource}'
+ show:
+ page_title: 'Show Grouppermission'
+ group_id: 'Group'
+ permission: 'Permission'
+ target_group_id: 'Target group'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this element?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ view_all: 'View All'
+ new:
+ page_title: 'New Grouppermission'
+ actions:
+ back_to_list: 'Back to Index'
+ edit:
+ page_title: 'Editing Grouppermission'
+ actions:
+ back_to_list: 'Back to Index'
+ edit: 'Edit'
+ view_all: 'View All'
+ form:
+ group_id:
+ label: 'Group'
+ hint: ''
+ permission:
+ label: 'Permission'
+ hint: ''
+ target_group_id:
+ label: 'Target group'
+ hint: ''
+ submit: 'Submit' \ No newline at end of file
diff --git a/config/locales/views/groups/de.yml b/config/locales/views/groups/de.yml
new file mode 100644
index 0000000..fc60a72
--- /dev/null
+++ b/config/locales/views/groups/de.yml
@@ -0,0 +1,50 @@
+de:
+ groups:
+ name: 'Group'
+ controller:
+ successfuly_created: 'Group wurde angelegt.'
+ successfuly_updated: 'Group wurde aktualisiert.'
+ successfuly_destroyed: 'Group wurde gelöscht.'
+ index:
+ page_title: 'Übersicht von Group'
+ name: 'Name'
+ active: 'Active'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Group'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ show: 'Anzeigen'
+ create: 'Neu anlegen'
+ create_for: 'Group neu anlegen für %{resource}'
+ show:
+ page_title: 'Group bearbeiten'
+ name: 'Name'
+ active: 'Active'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
+ destroy: 'Löschen'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ new:
+ page_title: 'Group neu anlegen'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit:
+ page_title: 'Group bearbeiten'
+ actions:
+ back_to_list: 'Zurück zur Übersicht'
+ edit: 'Bearbeiten'
+ view_all: 'Alle anzeigen'
+ form:
+ name:
+ label: 'Name'
+ hint: ''
+ active:
+ label: 'Active'
+ hint: ''
+ comment:
+ label: 'Comment'
+ hint: ''
+ submit: 'Absenden' \ No newline at end of file
diff --git a/config/locales/views/groups/en.yml b/config/locales/views/groups/en.yml
new file mode 100644
index 0000000..a7fb666
--- /dev/null
+++ b/config/locales/views/groups/en.yml
@@ -0,0 +1,50 @@
+en:
+ groups:
+ name: 'Group'
+ controller:
+ successfuly_created: 'Successfully created Group.'
+ successfuly_updated: 'Successfully updated Group.'
+ successfuly_destroyed: 'Successfully destroyed Group.'
+ index:
+ page_title: 'Listing Group'
+ name: 'Name'
+ active: 'Active'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this Group?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ show: 'View'
+ create: 'New'
+ create_for: 'New Group for %{resource}'
+ show:
+ page_title: 'Show Group'
+ name: 'Name'
+ active: 'Active'
+ comment: 'Comment'
+ actions:
+ confirm_destroy: 'Are you sure you want to delete this element?'
+ destroy: 'Delete'
+ edit: 'Edit'
+ view_all: 'View All'
+ new:
+ page_title: 'New Group'
+ actions:
+ back_to_list: 'Back to Index'
+ edit:
+ page_title: 'Editing Group'
+ actions:
+ back_to_list: 'Back to Index'
+ edit: 'Edit'
+ view_all: 'View All'
+ form:
+ name:
+ label: 'Name'
+ hint: ''
+ active:
+ label: 'Active'
+ hint: ''
+ comment:
+ label: 'Comment'
+ hint: ''
+ submit: 'Submit' \ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 65a9ac2..ce0566c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,10 @@
Gemeinschaft42c::Application.routes.draw do
+ resources :groups do
+ resources :group_memberships
+ resources :group_permissions
+ end
+
resources :sim_card_providers do
resources :sim_cards, :except => [:edit, :update]
end