diff --git a/app/assets/javascripts/app/controllers/_channel/facebook.coffee b/app/assets/javascripts/app/controllers/_channel/facebook.coffee index af76b9415..3e6ef6281 100644 --- a/app/assets/javascripts/app/controllers/_channel/facebook.coffee +++ b/app/assets/javascripts/app/controllers/_channel/facebook.coffee @@ -30,7 +30,7 @@ class Index extends App.ControllerSubContent render: (data) => # if no facebook app is registered, show intro - if !App.ExternalCredential.findByAttribute(name: 'facebook') + if !App.ExternalCredential.findByAttribute('name', 'facebook') @html App.view('facebook/index')() return diff --git a/app/assets/javascripts/app/controllers/_channel/twitter.coffee b/app/assets/javascripts/app/controllers/_channel/twitter.coffee index 9a0b8b6eb..a8ae0fbd0 100644 --- a/app/assets/javascripts/app/controllers/_channel/twitter.coffee +++ b/app/assets/javascripts/app/controllers/_channel/twitter.coffee @@ -29,7 +29,7 @@ class Index extends App.ControllerSubContent render: (data) => # if no twitter app is registered, show intro - if !App.ExternalCredential.findByAttribute(name: 'twitter') + if !App.ExternalCredential.findByAttribute('name', 'twitter') @html App.view('twitter/index')() return diff --git a/app/assets/javascripts/app/views/facebook/app_config.jst.eco b/app/assets/javascripts/app/views/facebook/app_config.jst.eco index 1bbb27c70..d9098f3e0 100644 --- a/app/assets/javascripts/app/views/facebook/app_config.jst.eco +++ b/app/assets/javascripts/app/views/facebook/app_config.jst.eco @@ -1,6 +1,6 @@

- The tutorial on how to create a Facebook App is hosted on zammad.org/facebook-app-tutorial + <%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/facebook).', 'Facebook App') %>

<%- @T('Enter your %s App Keys', 'Facebook') %>

diff --git a/app/assets/javascripts/app/views/facebook/index.jst.eco b/app/assets/javascripts/app/views/facebook/index.jst.eco index 9ca4976b3..e43590204 100644 --- a/app/assets/javascripts/app/views/facebook/index.jst.eco +++ b/app/assets/javascripts/app/views/facebook/index.jst.eco @@ -6,9 +6,7 @@
-

- Lorem ipsum Consequat ex dolore ullamco dolor ut eu eiusmod voluptate. Lorem ipsum Non aliquip Ut veniam cupidatat velit deserunt. Lorem ipsum Id reprehenderit deserunt esse eiusmod exercitation. Lorem ipsum Voluptate mollit sed Ut nulla consequat enim. Lorem ipsum Adipisicing ullamco dolor elit officia pariatur ex ea laboris Ut exercitation proident sed. Lorem ipsum In officia reprehenderit sed nulla incididunt aute incididunt ad quis tempor. Lorem ipsum Dolore est id minim dolore et labore incididunt commodo. Lorem ipsum Excepteur non consectetur anim ut nostrud amet et. Lorem ipsum Sunt nostrud nulla officia aute laborum enim in pariatur sit enim et. -

+

<%- @T('You can connect %s with Zammad. You need to connect your Zammad with %s first.', 'Facebook Accounts', 'Facebook') %>

<%- @T('Connect Facebook App') %>
\ No newline at end of file diff --git a/app/assets/javascripts/app/views/twitter/app_config.jst.eco b/app/assets/javascripts/app/views/twitter/app_config.jst.eco index a7f20c735..2e243eb6b 100644 --- a/app/assets/javascripts/app/views/twitter/app_config.jst.eco +++ b/app/assets/javascripts/app/views/twitter/app_config.jst.eco @@ -1,6 +1,6 @@

- The tutorial on how to create a Twitter App is hosted on zammad.org/twitter-app-tutorial + <%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/twitter).', 'Twitter App') %>

<%- @T('Enter your %s App Keys', 'Twitter') %>

diff --git a/app/assets/javascripts/app/views/twitter/index.jst.eco b/app/assets/javascripts/app/views/twitter/index.jst.eco index 064f0d906..5a03b4189 100644 --- a/app/assets/javascripts/app/views/twitter/index.jst.eco +++ b/app/assets/javascripts/app/views/twitter/index.jst.eco @@ -6,9 +6,7 @@
-

- Lorem ipsum Consequat ex dolore ullamco dolor ut eu eiusmod voluptate. Lorem ipsum Non aliquip Ut veniam cupidatat velit deserunt. Lorem ipsum Id reprehenderit deserunt esse eiusmod exercitation. Lorem ipsum Voluptate mollit sed Ut nulla consequat enim. Lorem ipsum Adipisicing ullamco dolor elit officia pariatur ex ea laboris Ut exercitation proident sed. Lorem ipsum In officia reprehenderit sed nulla incididunt aute incididunt ad quis tempor. Lorem ipsum Dolore est id minim dolore et labore incididunt commodo. Lorem ipsum Excepteur non consectetur anim ut nostrud amet et. Lorem ipsum Sunt nostrud nulla officia aute laborum enim in pariatur sit enim et. -

+

<%- @T('You can connect %s with Zammad. You need to connect your Zammad with %s first.', 'Twitter Accounts', 'Twitter') %>

<%- @T('Connect Twitter App') %>
\ No newline at end of file