diff --git a/Gemfile b/Gemfile index fbad1ec..5b30e82 100644 --- a/Gemfile +++ b/Gemfile @@ -15,3 +15,5 @@ gem "tzinfo-data", platforms: [:mswin, :mingw] gem "middleman-minify-html" gem 'therubyracer' + +gem "therubyracer" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 8c46bfe..532f98d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: http://rubygems.org/ specs: - activesupport (4.1.9) + activesupport (4.1.16) i18n (~> 0.6, >= 0.6.9) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) @@ -9,19 +9,19 @@ GEM tzinfo (~> 1.1) celluloid (0.16.0) timers (~> 4.0.0) - chunky_png (1.3.3) - coffee-script (2.3.0) + chunky_png (1.3.8) + coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.8.0) - compass (1.0.1) + coffee-script-source (1.12.2) + compass (1.0.3) chunky_png (~> 1.2) - compass-core (~> 1.0.1) + compass-core (~> 1.0.2) compass-import-once (~> 1.0.5) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) sass (>= 3.3.13, < 3.5) - compass-core (1.0.1) + compass-core (1.0.3) multi_json (~> 1.0) sass (>= 3.3.0, < 3.5) compass-import-once (1.0.5) @@ -30,42 +30,46 @@ GEM eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) erubis (2.7.0) - eventmachine (1.0.4) - execjs (2.2.2) - ffi (1.9.6) - ffi (1.9.6-x86-mingw32) - haml (4.0.6) + eventmachine (1.2.5) + eventmachine (1.2.5-x86-mingw32) + execjs (2.7.0) + ffi (1.9.18) + ffi (1.9.18-x86-mingw32) + haml (5.0.4) + temple (>= 0.8.0) tilt hike (1.2.3) - hitimes (1.2.2) - hooks (0.4.0) - uber (~> 0.0.4) - htmlcompressor (0.1.2) + hitimes (1.2.6) + hitimes (1.2.6-x86-mingw32) + hooks (0.4.1) + uber (~> 0.0.14) + htmlcompressor (0.2.0) http_parser.rb (0.6.0) - i18n (0.6.11) - json (1.8.1) - kramdown (1.5.0) - listen (2.8.5) - celluloid (>= 0.15.2) + i18n (0.7.0) + json (1.8.6) + kramdown (1.15.0) + libv8 (3.16.14.19) + listen (2.10.1) + celluloid (~> 0.16.0) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) - middleman (3.3.7) + middleman (3.3.12) coffee-script (~> 2.2) compass (>= 1.0.0, < 2.0.0) compass-import-once (= 1.0.5) execjs (~> 2.0) haml (>= 4.0.5) kramdown (~> 1.2) - middleman-core (= 3.3.7) + middleman-core (= 3.3.12) middleman-sprockets (>= 3.1.2) sass (>= 3.4.0, < 4.0) uglifier (~> 2.5) - middleman-core (3.3.7) + middleman-core (3.3.12) activesupport (~> 4.1.0) bundler (~> 1.1) erubis hooks (~> 0.3) - i18n (~> 0.6.9) + i18n (~> 0.7.0) listen (>= 2.7.9, < 3.0) padrino-helpers (~> 0.12.3) rack (>= 1.4.5, < 2.0) @@ -77,32 +81,33 @@ GEM middleman-core (>= 3.0.2) multi_json (~> 1.0) rack-livereload - middleman-minify-html (3.4.0) - htmlcompressor (~> 0.1.0) + middleman-minify-html (3.4.1) + htmlcompressor (~> 0.2.0) middleman-core (>= 3.2) - middleman-sprockets (3.4.1) + middleman-sprockets (3.5.0) middleman-core (>= 3.3) sprockets (~> 2.12.1) sprockets-helpers (~> 1.1.0) sprockets-sass (~> 1.3.0) - minitest (5.5.0) - multi_json (1.10.1) - padrino-helpers (0.12.4) + minitest (5.10.3) + multi_json (1.12.2) + padrino-helpers (0.12.8.1) i18n (~> 0.6, >= 0.6.7) - padrino-support (= 0.12.4) + padrino-support (= 0.12.8.1) tilt (~> 1.4.1) - padrino-support (0.12.4) + padrino-support (0.12.8.1) activesupport (>= 3.1) - rack (1.6.0) - rack-livereload (0.3.15) + rack (1.6.8) + rack-livereload (0.3.16) rack - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) - rb-fsevent (0.9.4) - rb-inotify (0.9.5) - ffi (>= 0.5.0) - sass (3.4.9) - sprockets (2.12.3) + rb-fsevent (0.10.2) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + ref (2.0.0) + sass (3.4.25) + sprockets (2.12.4) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) @@ -112,20 +117,24 @@ GEM sprockets-sass (1.3.1) sprockets (~> 2.0) tilt (~> 1.1) - thor (0.19.1) - thread_safe (0.3.4) + temple (0.8.0) + therubyracer (0.12.3) + libv8 (~> 3.16.14.15) + ref + thor (0.20.0) + thread_safe (0.3.6) tilt (1.4.1) - timers (4.0.1) + timers (4.0.4) hitimes - tzinfo (1.2.2) + tzinfo (1.2.4) thread_safe (~> 0.1) - tzinfo-data (1.2014.10) + tzinfo-data (1.2017.3) tzinfo (>= 1.0.0) - uber (0.0.12) - uglifier (2.6.1) + uber (0.0.15) + uglifier (2.7.2) execjs (>= 0.3.0) json (>= 1.8.0) - wdm (0.1.0) + wdm (0.1.1) PLATFORMS ruby @@ -135,5 +144,9 @@ DEPENDENCIES middleman (~> 3.3.3) middleman-livereload (~> 3.1.0) middleman-minify-html + therubyracer tzinfo-data wdm (~> 0.1.0) + +BUNDLED WITH + 1.16.0 diff --git a/data/support_elements.yml b/data/support_elements.yml new file mode 100644 index 0000000..ee3321f --- /dev/null +++ b/data/support_elements.yml @@ -0,0 +1,38 @@ +- support: + headline: :comunity-support-headline + header_label: :comunity-support-label + header_icon: fa-question + support_description: :comunity-support-description + feature_list: + - features: + - icon: fa-github-square + headline: :github-headline + description: :github-description + detail_link: https://github.com/stagemonitor/stagemonitor/issues + - icon: fa-envelope-o + headline: :mailing-list-headline + description: mailing-list-description + detail_link: https://github.com/stagemonitor/stagemonitor-mailinglist + - icon: fa-weixin + headline: gitter-headline + description: gitter-description + detail_link: https://gitter.im/stagemonitor/stagemonitor +- support: + header_label: :commercial-support-label + support_description: :commercial-support-description + feature_list: + - features: + - icon: fa-user + headline: :individual-headline + - icon: fa-info + headline: :expert-headline + - icon: fa-mobile + headline: :phone-headline + - features: + - icon: fa-graduation-cap + headline: :training-headline + - icon: fa-cog + headline: :customize-headline + - icon: fa-code + headline: :installation-headline + diff --git a/locales/de.yml b/locales/de.yml index 7eebdf9..76b2ed5 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -119,3 +119,32 @@ de: server_metrics-description: Dieses Dashboard enthält Informationen über die Nutzung des Server Thread Pools, die Anzahl der aktuellen Sessions, die Auslastung Ihrer Hosts und die Anzahl der laufenden Server. server_metrics-image_title: Server Dashboard + + comunity-support-headline: Benötigen Sie Hilfe + comunity-support-label: Community Support + comunity-support-description: Das stagemonitor Team bietet kostenlosen Support über verschieden Wege an + + github-headline: GitHub + github-description: Für Ideen oder Bugs + + mailing-list-headline: Mailinglist + mailing-list-description: MailingGroup + + gitter-headline: Gitter + gitter-description: Chat mit uns für schnellen Support! + + commercial-support-label: Professioneller Support + commercial-support-description: Zusätzlich bieten wir professionellen Support für stagemonitor an, bitte Kontaktiere uns für weiter Informationen. + + individual-headline: Individual Software + + expert-headline: Expertenanalyse + + phone-headline: Telefon- und Emailsupport + + training-headline: Schulungen und Workshops + + customize-headline: Customizing + + installation-headline: Hilfe bei der Installation + diff --git a/locales/en.yml b/locales/en.yml index 5d8e6fd..44c339e 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -122,3 +122,30 @@ en: concurrent sessions, the load of your hosts and the number of running servers. server_metrics-image_title: Server Dashboard + comunity-support-headline: Do you have any Questions + comunity-support-label: Community Support + comunity-support-description: The stagemonitor team provides community support, you can choose between different ways to contact us. + + github-headline: GitHub + github-description: If you have a bug or an idea. + + mailing-list-headline: Mailinglist + mailing-list-description: MailingGroup + + gitter-headline: Gitter + gitter-description: Chat with us for fast support! + + commercial-support-label: Commercial Support + commercial-support-description: We also provide professional support for the use of stagemonitor, please Contact us for more information. + + individual-headline: Individual development + + expert-headline: Expert analysis + + phone-headline: Telephone and email support + + training-headline: Trainings and workshops + + customize-headline: Customizing + + installation-headline: Help with the installation diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 86fd252..2648bb2 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -49,6 +49,7 @@
<%= I18n.t(:"#{item.icon}-description") %>
-<%= I18n.t(:"#{item.icon}-description") %>
+<%= I18n.t(:"#{feature.id}-description") %>
-<%= I18n.t(:"#{feature.id}-description") %>
+<%= I18n.t(support_element.support_description) %>
+<%= I18n.t(item.description) %>
+ <% end %> +