summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-27 20:58:33 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-27 20:58:33 +0200
commitaad51572a6c75a4cbd2d44804b82f634a4ddd732 (patch)
treeeb1e50afb7f8667fc6d5ac4a856c5f1fd396efd7 /config
parent29213546a4468aa4a853dee8091bbd556f7d0f51 (diff)
Add the possiblity to search the phone_books in the Switchboard#view
Diffstat (limited to 'config')
-rw-r--r--config/locales/views/switchboards/de.yml6
-rw-r--r--config/locales/views/switchboards/en.yml5
-rw-r--r--config/routes.rb1
3 files changed, 11 insertions, 1 deletions
diff --git a/config/locales/views/switchboards/de.yml b/config/locales/views/switchboards/de.yml
index d86a656..3bb45a5 100644
--- a/config/locales/views/switchboards/de.yml
+++ b/config/locales/views/switchboards/de.yml
@@ -15,6 +15,7 @@ de:
amount_of_displayed_phone_numbers: 'Anzahl der angezeigten Telefonnummern'
blind_transfer_activated: 'Transfer'
attended_transfer_activated: 'Transfer mit Rückfrage'
+ search_activated: 'Suche'
actions:
confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Switchboard'
destroy: 'Löschen'
@@ -32,6 +33,7 @@ de:
amount_of_displayed_phone_numbers: 'Anzahl der angezeigten Telefonnummern'
blind_transfer_activated: 'Transfer'
attended_transfer_activated: 'Transfer mit Rückfrage'
+ search_activated: 'Suche'
actions:
confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
destroy: 'Löschen'
@@ -72,5 +74,7 @@ de:
attended_transfer_activated:
label: 'Transfer mit Rückfrage'
hint: 'Funktioniert nicht mit allen Telefonen.'
-
+ search_activated:
+ label: 'Suche aktivieren'
+ hint: ''
submit: 'Absenden' \ No newline at end of file
diff --git a/config/locales/views/switchboards/en.yml b/config/locales/views/switchboards/en.yml
index 6a5dd6f..0cc5ef2 100644
--- a/config/locales/views/switchboards/en.yml
+++ b/config/locales/views/switchboards/en.yml
@@ -15,6 +15,7 @@ en:
amount_of_displayed_phone_numbers: 'Amount of displayed phone numbers'
blind_transfer_activated: 'Blind Transfer'
attended_transfer_activated: 'Attended Transfer'
+ search_activated: 'Search function'
actions:
confirm_destroy: 'Are you sure you want to delete this Switchboard?'
destroy: 'Delete'
@@ -32,6 +33,7 @@ en:
amount_of_displayed_phone_numbers: 'Amount of displayed phone numbers'
blind_transfer_activated: 'Blind Transfer'
attended_transfer_activated: 'Attended Transfer'
+ search_activated: 'Search function'
actions:
confirm_destroy: 'Are you sure you want to delete this element?'
destroy: 'Delete'
@@ -72,4 +74,7 @@ en:
attended_transfer_activated:
label: 'Attended Transfer'
hint: 'Does not work with all phone models.'
+ search_activated:
+ label: 'Activate search function'
+ hint: ''
submit: 'Submit' \ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index eeb9c0b..707d0fc 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -12,6 +12,7 @@ Gemeinschaft42c::Application.routes.draw do
resources :pager_groups
resources :phone_numbers, :only => [:show, :index]
resources :calls, :only => [:index, :show, :update]
+ resources :phone_book_entries, :only => [:index]
end
resources :rows