summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-26 16:55:08 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:09:33 +0200
commit64653a9149eca977c16233abb0a472730b94a464 (patch)
tree7cfd94c7a7cd44374cf88c61f0f7bd926c351615 /config
parent877364c24ef9c7954f0e193456bb3f2d39169977 (diff)
Store reload interval in the Switchboard table.
Diffstat (limited to 'config')
-rw-r--r--config/locales/views/switchboards/de.yml15
-rw-r--r--config/locales/views/switchboards/en.yml15
-rw-r--r--config/routes.rb2
3 files changed, 31 insertions, 1 deletions
diff --git a/config/locales/views/switchboards/de.yml b/config/locales/views/switchboards/de.yml
index 97a47b8..e73b100 100644
--- a/config/locales/views/switchboards/de.yml
+++ b/config/locales/views/switchboards/de.yml
@@ -9,6 +9,9 @@ de:
page_title: 'Switchboards'
name: 'Name'
user_id: 'User'
+ reload_interval:: 'Reload Interval'
+ show_avatars: 'Show avatars'
+ entry_width: 'Entry width'
actions:
confirm_destroy: 'Sind Sie sicher, dass Sie folgendes löschen möchten: Switchboard'
destroy: 'Löschen'
@@ -20,6 +23,9 @@ de:
page_title: 'Switchboard bearbeiten'
name: 'Name'
user_id: 'User'
+ reload_interval:: 'Reload Interval'
+ show_avatars: 'Show avatars'
+ entry_width: 'Entry width'
actions:
confirm_destroy: 'Sind Sie sicher, dass die dieses Element löschen möchten?'
destroy: 'Löschen'
@@ -42,4 +48,13 @@ de:
user_id:
label: 'User'
hint: ''
+ reload_interval:
+ label: 'Reload Interval'
+ hint: 'Milliseconds. nil = no reload'
+ show_avatars:
+ label: 'Show avatars'
+ hint: ''
+ entry_width:
+ label: 'Entry width'
+ 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 a860763..8489d28 100644
--- a/config/locales/views/switchboards/en.yml
+++ b/config/locales/views/switchboards/en.yml
@@ -9,6 +9,9 @@ en:
page_title: 'Switchboards'
name: 'Name'
user_id: 'User'
+ reload_interval:: 'Reload Interval'
+ show_avatars: 'Show avatars'
+ entry_width: 'Entry width'
actions:
confirm_destroy: 'Are you sure you want to delete this Switchboard?'
destroy: 'Delete'
@@ -20,6 +23,9 @@ en:
page_title: 'Show Switchboard'
name: 'Name'
user_id: 'User'
+ reload_interval:: 'Reload Interval'
+ show_avatars: 'Show avatars'
+ entry_width: 'Entry width'
actions:
confirm_destroy: 'Are you sure you want to delete this element?'
destroy: 'Delete'
@@ -42,4 +48,13 @@ en:
user_id:
label: 'User'
hint: ''
+ reload_interval:
+ label: 'Reload Interval'
+ hint: 'Milliseconds. nil = no reload'
+ show_avatars:
+ label: 'Show avatars'
+ hint: ''
+ entry_width:
+ label: 'Entry width'
+ hint: ''
submit: 'Submit' \ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index a4ab062..ce4c028 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -10,7 +10,7 @@ Gemeinschaft42c::Application.routes.draw do
end
end
- resources :switchboard_entries, :only => [:show]
+ resources :switchboard_entries, :only => [:show, :index]
resources :restore_jobs