Improved wording.

This commit is contained in:
Martin Edenhofer 2016-03-09 08:04:56 +01:00
parent 5e397f84a7
commit 26bdc0c665
4 changed files with 8 additions and 8 deletions

View file

@ -496,7 +496,7 @@ class App.ChannelEmailAccountWizard extends App.WizardModal
# base
configureAttributesBase = [
{ name: 'realname', display: 'Department Name', tag: 'input', type: 'text', limit: 160, null: false, placeholder: 'Organization Support', autocomplete: 'off' },
{ name: 'email', display: 'User', tag: 'input', type: 'email', limit: 120, null: false, placeholder: 'support@example.com', autocapitalize: false, autocomplete: 'off', },
{ name: 'email', display: 'Email', tag: 'input', type: 'email', limit: 120, null: false, placeholder: 'support@example.com', autocapitalize: false, autocomplete: 'off' },
{ name: 'password', display: 'Password', tag: 'input', type: 'password', limit: 120, null: false, autocapitalize: false, autocomplete: 'new-password', single: true },
{ name: 'group_id', display: 'Destination Group', tag: 'select', null: false, relation: 'Group', nulloption: true },
]

View file

@ -2,11 +2,11 @@
class App.UiElement.time_range
@render: (attribute) ->
ranges =
minute: 'minute(s)'
hour: 'hour(s)'
day: 'day(s)'
month: 'month(s)'
year: 'year(s)'
minute: 'Minute(s)'
hour: 'Hour(s)'
day: 'Day(s)'
month: 'Month(s)'
year: 'Year(s)'
for key, value of ranges
ranges[key] = App.i18n.translateInline(value)

View file

@ -1,4 +1,4 @@
# coffeelint: disable=camel_case_classes
class App.UiElement.user_autocompletion
@render: (attribute) ->
new App.UserOrganizationAutocompletion( attribute: attribute ).element()
new App.UserOrganizationAutocompletion(attribute: attribute).element()

View file

@ -3,4 +3,4 @@ class App.UiElement.user_autocompletion_search
@render: (attributeOrig) ->
attribute = _.clone(attributeOrig)
attribute.disableCreateUser = true
new App.UserOrganizationAutocompletion( attribute: attribute ).element()
new App.UserOrganizationAutocompletion(attribute: attribute).element()