From 436dab6a1a18c4db467e743a3b1ee122be82ecd5 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 23 Mar 2016 15:15:38 +0100 Subject: [PATCH] refactor userList --- .../layout_ref/merge_customer_view.jst.eco | 10 +++++----- .../app/views/layout_ref/ticket_zoom.jst.eco | 10 +++++----- .../views/organization_profile/object.jst.eco | 6 +++--- .../app/views/widget/organization.jst.eco | 10 +++++----- app/assets/stylesheets/zammad.scss | 18 ++++++++++-------- 5 files changed, 28 insertions(+), 26 deletions(-) diff --git a/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco b/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco index d17ff9628..731ea4c88 100644 --- a/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/merge_customer_view.jst.eco @@ -860,11 +860,11 @@
- +
+
+ NB Nicole Braun +
+
diff --git a/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco b/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco index d5070211f..0946446a3 100644 --- a/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/ticket_zoom.jst.eco @@ -602,11 +602,11 @@
- +
+
+ NB Nicole Braun +
+
diff --git a/app/assets/javascripts/app/views/organization_profile/object.jst.eco b/app/assets/javascripts/app/views/organization_profile/object.jst.eco index 698e6f4c7..c4d01fbd3 100644 --- a/app/assets/javascripts/app/views/organization_profile/object.jst.eco +++ b/app/assets/javascripts/app/views/organization_profile/object.jst.eco @@ -27,11 +27,11 @@ <% if @organization.members: %>
-
+
<% for user in @organization.members: %> -
+
<%- user.avatar("40") %> - <%= user.displayName() %> + <%= user.displayName() %>
<% end %>
diff --git a/app/assets/javascripts/app/views/widget/organization.jst.eco b/app/assets/javascripts/app/views/widget/organization.jst.eco index 8c575c6fb..a7de46b7a 100644 --- a/app/assets/javascripts/app/views/widget/organization.jst.eco +++ b/app/assets/javascripts/app/views/widget/organization.jst.eco @@ -23,16 +23,16 @@ <% if @organization.members: %>
- +
<% end %> \ No newline at end of file diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 51724dd25..75ebcd501 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -5877,17 +5877,19 @@ footer { list-style: none; padding: 0; - li { - position: relative; + .userList-entry { margin: 10px 0; + display: flex; + align-items: center; + + &:last-child { + margin-bottom: 0; + } } - - a { + + .userList-name { @extend .u-textTruncate; - position: absolute; - top: 10px; - right: 0px; - left: 48px; + margin-left: 7px; } }