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 146a327af..677df6aa3 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 @@ -43,13 +43,22 @@ <% for channel in @account_channels: %>
-
- <%- @Icon('status', channel.status_in + " inline") %> <%- @T('Inbound') %>:
- - <%- @T('User') %>: <%= channel.options.inbound.options.user %>
- <%- @T('Host') %>: <%= channel.options.inbound.options.host %>
- <%- @T('Protocol') %>: <%= channel.options.inbound.adapter %> -
+
+
+

<%- @Icon('status', channel.status_in + " inline") %> <%- @T('Inbound') %>

+
<%- @T('Edit') %>
+
+ + + + +
<%- @T('User') %> + <%= channel.options.inbound.options.user %> +
<%- @T('Host') %> + <%= channel.options.inbound.options.host %> +
<%- @T('Protocol') %> + <%= channel.options.inbound.adapter %> +
<% if !_.isEmpty(channel.last_log_in): %>
@@ -59,21 +68,28 @@
-
- <%- @T('Destination Group') %>:
- <%= channel.group %> -
- +

<%- @T('Destination Group') %>

+ <%= channel.group %>
-
- <%- @Icon('status', channel.status_out + " inline") %> <%- @T('Outbound') %>:
- - <% if channel.options.outbound && channel.options.outbound.options: %> - <%- @T('User') %>: <%= channel.options.outbound.options.user %>
- <%- @T('Host') %>: <%= channel.options.outbound.options.host %>
- <% end %> - <%- @T('Protocol') %>: <%= channel.options.outbound.adapter %> -
+
+
+

<%- @Icon('status', channel.status_out + " inline") %> <%- @T('Outbound') %>

+
<%- @T('Edit') %>
+
+ + <% if channel.options.outbound && channel.options.outbound.options: %> + + + +
<%- @T('User') %> + <%= channel.options.outbound.options.user %> +
<%- @T('Host') %> + <%= channel.options.outbound.options.host %> + <% end %> +
<%- @T('Protocol') %> + <%= channel.options.outbound.adapter %> +
+ <% if !_.isEmpty(channel.last_log_out): %>
<%= channel.last_log_out %> @@ -82,14 +98,13 @@
- <%- @T('Email Address') %>: +

<%- @T('Email Address') %>

    <% if !_.isEmpty(channel.email_addresses): %> <% for email_address in channel.email_addresses: %>
  • - +
    <%= email_address.email %>
    +
    <%- @T('Edit') %>
    <% if channel.email_addresses.length > 1: %>
    <%- @Icon('diagonal-cross') %> @@ -117,17 +132,26 @@

    <%- @T('Email Notification') %>

    <% for channel in @notification_channels: %>
    -
    -
    +
    +
    +
    +

    <%- @Icon('status', channel.status_out + " inline") %> <%- @T('Outbound') %>

    +
    <%- @T('Edit') %>
    +
    - <%- @Icon('status', channel.status_out + " inline") %> <%- @T('Outbound') %>:
    - - <% if channel.options.outbound && channel.options.outbound.options: %> - <%- @T('User') %>: <%= channel.options.outbound.options.user %>
    - <%- @T('Host') %>: <%= channel.options.outbound.options.host %>
    - <% end %> - <%- @T('Protocol') %>: <%= channel.options.outbound.adapter %> -
    + + <% if channel.options.outbound && channel.options.outbound.options: %> + + + +
    <%- @T('User') %> + <%= channel.options.outbound.options.user %> +
    <%- @T('Host') %> + <%= channel.options.outbound.options.host %> + <% end %> +
    <%- @T('Protocol') %> + <%= channel.options.outbound.adapter %> +
    <% if channel.status_in is 'error': %>
    <%= channel.last_log_in %>
    @@ -135,15 +159,12 @@ <% if channel.status_out is 'error': %>
    <%= channel.last_log_out %>
    <% end %> -
    -
    - - <%- @T('Email Address') %>: +
    +

    <%- @T('Email Address') %>

    • <%= @config.notification_sender %>
    -
    diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index c94330b18..7e08d6cbd 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -697,6 +697,12 @@ blockquote { } } +.key-value { + td:first-child { + padding-right: 10px; + color: #999; + } +} table { table-layout: fixed; @@ -7503,6 +7509,10 @@ body.fit { margin-left: auto; } +.space-left { + margin-left: 10px; +} + .align-center { margin-left: auto; margin-right: auto;