From d2383fe4470de32d900f426bdcbe3a4d66b760b5 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 8 Sep 2015 00:05:39 +0200 Subject: [PATCH] convert .sidebar-list to generic .list --- .../channel/email_account_overview.jst.eco | 79 +++++++++++-------- .../layout_ref/merge_customer_view.jst.eco | 6 +- .../javascripts/app/views/link/info.jst.eco | 4 +- .../javascripts/app/views/widget/tag.jst.eco | 8 +- app/assets/stylesheets/zammad.css.scss | 19 +++-- 5 files changed, 68 insertions(+), 48 deletions(-) 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 %>) +
+
- -