diff --git a/app/assets/javascripts/app/controllers/_channel/email.js.coffee b/app/assets/javascripts/app/controllers/_channel/email.js.coffee index 1cba9f006..52fbcf571 100644 --- a/app/assets/javascripts/app/controllers/_channel/email.js.coffee +++ b/app/assets/javascripts/app/controllers/_channel/email.js.coffee @@ -225,7 +225,8 @@ class App.ChannelEmailAccountOverview extends App.Controller constructor: -> super - @interval(@load, 20000) + # @interval(@load, 20000) + @load() load: => @ajax( diff --git a/app/assets/javascripts/app/views/channel/email_account_overview.jst.eco b/app/assets/javascripts/app/views/channel/email_account_overview.jst.eco index 2dd7af58e..4151a2bf9 100644 --- a/app/assets/javascripts/app/views/channel/email_account_overview.jst.eco +++ b/app/assets/javascripts/app/views/channel/email_account_overview.jst.eco @@ -10,7 +10,7 @@ <% end %> <% if !_.isEmpty(@not_used_email_addresses): %> -

<%- @T('Not linked email addresses') %>

+

<%- @T('Unlinked Email Addresses') %>

<% end %> +

<%- @T('Linked Email Addresses') %>

<% if _.isEmpty(@account_channels): %>

<%- @T('You have no configured account right now.') %>

<% else: %> @@ -27,41 +28,52 @@ <%- @T('Inbound') %> <%- @T('Outbound') %> <%- @T('Email Adresses') %> - <%- @T('Action') %> + <%- @T('Action') %> <% for channel in @account_channels: %> - - <%- @T('State') %>: <%- @T(channel.status_in || 'unknown') %>
- - <%= channel.options.inbound.options.user %>
- <%= channel.options.inbound.options.host %> (<%= channel.options.inbound.adapter %>) -
+ +
+ <%- @Icon('status', channel.status_in + " inline") %> + + <%= channel.options.inbound.options.user %>
+ <%= channel.options.inbound.options.host %> (<%= channel.options.inbound.adapter %>) +
+
- - <%- @T('State') %>: <%- @T(channel.status_out || 'unknown') %>
- - <% if channel.options.outbound && channel.options.outbound.options: %> - <%= channel.options.outbound.options.user %>
- <%= channel.options.outbound.options.host %> - <% end %> - (<%= channel.options.outbound.adapter %>)
+ +
+ <%- @Icon('status', channel.status_out + " inline") %> + + <% if channel.options.outbound && channel.options.outbound.options: %> + <%= channel.options.outbound.options.user %>
+ <%= channel.options.outbound.options.host %> + <% end %> + (<%= channel.options.outbound.adapter %>) +
+
- -