From b80bd744ad873f6fc43018bc4bfb90677de167bd Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 17 Dec 2012 12:01:45 +0100 Subject: Start of GS5. --- app/views/gemeinschaft_setups/new.de.html.haml | 25 +++++++++++++++++++++++++ app/views/gemeinschaft_setups/new.html.haml | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 app/views/gemeinschaft_setups/new.de.html.haml create mode 100644 app/views/gemeinschaft_setups/new.html.haml (limited to 'app/views/gemeinschaft_setups') diff --git a/app/views/gemeinschaft_setups/new.de.html.haml b/app/views/gemeinschaft_setups/new.de.html.haml new file mode 100644 index 0000000..5e79115 --- /dev/null +++ b/app/views/gemeinschaft_setups/new.de.html.haml @@ -0,0 +1,25 @@ +- title "Konfiguration einer Gemeinschaft #{GEMEINSCHAFT_VERSION} Installation" + += simple_form_for(@gemeinschaft_setup) do |f| + = f.error_notification + + %h2 Admin-Konto + %p + Dieser erste Benutzer des Systems hat automatisch Admin-Rechte. + + = f.simple_fields_for :user, @user do |u| + = render "users/form_core", :f => u + + %h2 SIP-Domain + %p In den meisten Fällen sollten Sie den gleichen Wert für SIP-Realm und SIP-Domain benutzen. Wenn Sie mit diesen Begriffen nichts anfangen können, dann geben Sie hier bitte die IP-Adresse dieses Servers ein. + + = f.simple_fields_for :sip_domain, @sip_domain do |s| + = render "sip_domains/form_core", :f => s + + %h2 Allgemeine Informationen + + = f.association :country, :label => t('gemeinschaft_setups.form.country_id.label'), :hint => conditional_hint('gemeinschaft_setups.form.country_id.hint'), :include_blank => false + = f.association :language, :label => t('gemeinschaft_setups.form.language_id.label'), :hint => conditional_hint('gemeinschaft_setups.form.language_id.hint'), :include_blank => false + + .actions + = f.button :submit, conditional_t('gemeinschaft_setups.form.submit') \ No newline at end of file diff --git a/app/views/gemeinschaft_setups/new.html.haml b/app/views/gemeinschaft_setups/new.html.haml new file mode 100644 index 0000000..f5f0e81 --- /dev/null +++ b/app/views/gemeinschaft_setups/new.html.haml @@ -0,0 +1,25 @@ +- title "Configure a new Gemeinschaft #{GEMEINSCHAFT_VERSION} server" + += simple_form_for(@gemeinschaft_setup) do |f| + = f.error_notification + + %h3 Admin user account + %p + This is the first user of this system who has admin rights by default. + + = f.simple_fields_for :user, @user do |u| + = render "users/form_core", :f => u + + %h3 SIP domain + %p You should use the same value for the SIP realm as for the SIP domain to ensure compatibility with different phone models. In case you have no clue what we are talking about: Just enter the IP address of this server. + + = f.simple_fields_for :sip_domain, @sip_domain do |s| + = render "sip_domains/form_core", :f => s + + %h3 General information + + = f.association :country, :label => t('gemeinschaft_setups.form.country_id.label'), :hint => conditional_hint('gemeinschaft_setups.form.country_id.hint'), :include_blank => false + = f.association :language, :label => t('gemeinschaft_setups.form.language_id.label'), :hint => conditional_hint('gemeinschaft_setups.form.language_id.hint'), :include_blank => false + + .actions + = f.button :submit, conditional_t('gemeinschaft_setups.form.submit') \ No newline at end of file -- cgit v1.2.3