Improved welcome text.
This commit is contained in:
parent
1167a4575e
commit
33f92cc338
6 changed files with 6 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="alert alert--danger hidden" role="alert"></div>
|
||||
<p>
|
||||
The tutorial on how to create a Facebook App is hosted on <a href="http://zammad.org/twitter-app-tutorial" target="_blank">zammad.org/facebook-app-tutorial</a>
|
||||
<%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/facebook).', 'Facebook App') %>
|
||||
</p>
|
||||
<fieldset>
|
||||
<h2><%- @T('Enter your %s App Keys', 'Facebook') %></h2>
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
|
||||
<div class="page-content">
|
||||
<div class="page-description">
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p><%- @T('You can connect %s with Zammad. You need to connect your Zammad with %s first.', 'Facebook Accounts', 'Facebook') %></p>
|
||||
<div class="btn btn--success js-configApp"><%- @T('Connect Facebook App') %></div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,6 +1,6 @@
|
|||
<div class="alert alert--danger hidden" role="alert"></div>
|
||||
<p>
|
||||
The tutorial on how to create a Twitter App is hosted on <a href="http://zammad.org/twitter-app-tutorial" target="_blank">zammad.org/twitter-app-tutorial</a>
|
||||
<%- @T('The tutorial on how to manage a %s is hosted on our [online documentation](http://zammad.org/documentation/channel/twitter).', 'Twitter App') %>
|
||||
</p>
|
||||
<fieldset>
|
||||
<h2><%- @T('Enter your %s App Keys', 'Twitter') %></h2>
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
|
||||
<div class="page-content">
|
||||
<div class="page-description">
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p><%- @T('You can connect %s with Zammad. You need to connect your Zammad with %s first.', 'Twitter Accounts', 'Twitter') %></p>
|
||||
<div class="btn btn--success js-configApp"><%- @T('Connect Twitter App') %></div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue