From 20e6283bb210c06c66b67061c9c4c233a0eaf086 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 19 Oct 2015 16:38:13 +0200 Subject: [PATCH] refactor icons fully switch to the @Icon method --- .../app/views/generic/ical_feed.jst.eco | 2 +- .../views/generic/postmaster_match.jst.eco | 2 +- .../app/views/generic/select.jst.eco | 2 +- .../layout_ref/communication_overview.jst.eco | 6 +++--- .../layout_ref/communication_reply.jst.eco | 2 +- .../app/views/layout_ref/content.jst.eco | 6 +++--- .../views/layout_ref/import_wizard.jst.eco | 12 +++++------ .../app/views/layout_ref/local_modal.jst.eco | 10 +++++----- .../app/views/layout_ref/schedulers.jst.eco | 4 ++-- .../app/views/layout_ref/setup.jst.eco | 4 ++-- .../app/views/layout_ref/sla.jst.eco | 4 ++-- .../app/views/layout_ref/sla_modal.jst.eco | 4 ++-- .../app/views/layout_ref/ticket_zoom.jst.eco | 14 ++++++------- .../app/views/layout_ref/user_list.jst.eco | 10 +++++----- .../app/views/layout_ref/user_profile.jst.eco | 20 +++++++++---------- .../javascripts/app/views/sla/index.jst.eco | 2 +- .../app/views/ticket_zoom/article_new.jst.eco | 18 ++++++++--------- 17 files changed, 61 insertions(+), 61 deletions(-) diff --git a/app/assets/javascripts/app/views/generic/ical_feed.jst.eco b/app/assets/javascripts/app/views/generic/ical_feed.jst.eco index 8a301df6e..8fbbc2891 100644 --- a/app/assets/javascripts/app/views/generic/ical_feed.jst.eco +++ b/app/assets/javascripts/app/views/generic/ical_feed.jst.eco @@ -14,7 +14,7 @@ <% end %> - <%- @Icon('arrow-down', 'dropdown-arrow') %> + <%- @Icon('arrow-down') %> (<%- @T('iCalendar links from Google, will get fetched once a day') %>) diff --git a/app/assets/javascripts/app/views/generic/postmaster_match.jst.eco b/app/assets/javascripts/app/views/generic/postmaster_match.jst.eco index 9899921e5..5d047f42c 100644 --- a/app/assets/javascripts/app/views/generic/postmaster_match.jst.eco +++ b/app/assets/javascripts/app/views/generic/postmaster_match.jst.eco @@ -9,7 +9,7 @@
- <%- @Icon('arrow-down', 'dropdown-arrow') %> + <%- @Icon('arrow-down') %>
diff --git a/app/assets/javascripts/app/views/generic/select.jst.eco b/app/assets/javascripts/app/views/generic/select.jst.eco index 076b20d48..31efbbd71 100644 --- a/app/assets/javascripts/app/views/generic/select.jst.eco +++ b/app/assets/javascripts/app/views/generic/select.jst.eco @@ -7,6 +7,6 @@ <% end %> <% if not @attribute.multiple: %> - <%- @Icon('arrow-down', 'dropdown-arrow') %> + <%- @Icon('arrow-down') %> <% end %> diff --git a/app/assets/javascripts/app/views/layout_ref/communication_overview.jst.eco b/app/assets/javascripts/app/views/layout_ref/communication_overview.jst.eco index 353bacc4b..e80901af1 100644 --- a/app/assets/javascripts/app/views/layout_ref/communication_overview.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/communication_overview.jst.eco @@ -22,11 +22,11 @@ @@ -229,7 +229,7 @@ Oliver
- + <%- @Icon('paperclip') %>
2 <%- @T('Attached Files') %>
midinotes_view.jpg
diff --git a/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco b/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco index a7b24e436..e04d21f64 100644 --- a/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco @@ -45,7 +45,7 @@ <%- @T('Uploading') %> (0%) ...
- <%- @Icon('diagonal-cross') %><%- @T('Cancel Upload') %> + <%- @Icon('diagonal-cross') %> <%- @T('Cancel Upload') %>
diff --git a/app/assets/javascripts/app/views/layout_ref/content.jst.eco b/app/assets/javascripts/app/views/layout_ref/content.jst.eco index 03d1151e7..91d6f9dcb 100644 --- a/app/assets/javascripts/app/views/layout_ref/content.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/content.jst.eco @@ -30,15 +30,15 @@

VIP Avatars

-
+
<%- @Icon('crown') %>

.avatar

-
+
<%- @Icon('crown') %>

.avatar.size-50

-
+
<%- @Icon('crown') %>

.avatar.size-80

diff --git a/app/assets/javascripts/app/views/layout_ref/import_wizard.jst.eco b/app/assets/javascripts/app/views/layout_ref/import_wizard.jst.eco index d83140f3f..02618024f 100644 --- a/app/assets/javascripts/app/views/layout_ref/import_wizard.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/import_wizard.jst.eco @@ -26,7 +26,7 @@ Download and install this personalised OTRS Migration Plugin on your OTRS System:

- Personal Migration Plugin + <%- @Icon('download') %> Personal Migration Plugin
Go Back @@ -45,8 +45,8 @@
- - + <%- @Icon('icon-diagonal-cross', 'icon-error') %> + <%- @Icon('checkmark') %>
@@ -66,7 +66,7 @@
- + <%- @Icon('checkmark') %>
@@ -75,7 +75,7 @@
- + <%- @Icon('checkmark') %>
@@ -84,7 +84,7 @@
- + <%- @Icon('checkmark') %>
diff --git a/app/assets/javascripts/app/views/layout_ref/local_modal.jst.eco b/app/assets/javascripts/app/views/layout_ref/local_modal.jst.eco index 2c2eb283a..14fa9a3f7 100644 --- a/app/assets/javascripts/app/views/layout_ref/local_modal.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/local_modal.jst.eco @@ -120,7 +120,7 @@ - + <%- @Icon('icon-arrow-down') %> @@ -212,7 +212,7 @@
- + <%- @Icon('help') %>
@@ -279,7 +279,7 @@ - + <%- @Icon('icon-arrow-down') %> @@ -302,9 +302,9 @@
- + <%- @Icon('arrow-right', 'action-flow-icon') %>

Actions

Set State to closed. @@ -106,7 +106,7 @@ Where State is open.
In Folder Spam.
- + <%- @Icon('arrow-right', 'action-flow-icon') %>

Actions

Set State to closed. diff --git a/app/assets/javascripts/app/views/layout_ref/setup.jst.eco b/app/assets/javascripts/app/views/layout_ref/setup.jst.eco index e8ddffbe0..f6320495d 100644 --- a/app/assets/javascripts/app/views/layout_ref/setup.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/setup.jst.eco @@ -4,7 +4,7 @@
- + <%- @Icon('full-logo', 'wizard-logo') %>
@@ -142,7 +142,7 @@ - + <%- @Icon('arrow-down') %>
diff --git a/app/assets/javascripts/app/views/layout_ref/sla.jst.eco b/app/assets/javascripts/app/views/layout_ref/sla.jst.eco index ee806f1da..a8b0ba5df 100644 --- a/app/assets/javascripts/app/views/layout_ref/sla.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/sla.jst.eco @@ -83,7 +83,7 @@ Where Organization equals to Deutsche Bank.
Where Priority is high.
- + <%- @Icon('icon-arrow-right', 'action-flow-icon') %>

Repsonse Times

00:30 hours First Response Time
@@ -108,7 +108,7 @@ Where Organization equals to Deutsche Bank.
Where Priority is high.
- + <%- @Icon('icon-arrow-right', 'action-flow-icon') %>

Repsonse Times

00:30 hours First Response Time
diff --git a/app/assets/javascripts/app/views/layout_ref/sla_modal.jst.eco b/app/assets/javascripts/app/views/layout_ref/sla_modal.jst.eco index 096452a03..0605d5862 100644 --- a/app/assets/javascripts/app/views/layout_ref/sla_modal.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/sla_modal.jst.eco @@ -29,7 +29,7 @@ - + <%- @Icon('arrow-down') %>
@@ -42,7 +42,7 @@ - + <%- @Icon('arrow-down') %>
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 e633d9f24..65f740ddc 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 @@ -106,7 +106,7 @@
@@ -117,11 +117,11 @@ set to internal - + <%- @Icon('reply', 'article-meta-icon') %> reply - + <%- @Icon('split', 'article-meta-icon') %> split @@ -154,7 +154,7 @@
@@ -206,11 +206,11 @@ set to internal - + <%- @Icon('reply', 'article-meta-icon') %> reply - + <%- @Icon('split', 'article-meta-icon') %> split @@ -283,7 +283,7 @@
diff --git a/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco b/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco index 228abdc58..03931d9b2 100644 --- a/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco @@ -116,7 +116,7 @@
- + <%- @Icon('magnifier') %>
@@ -163,7 +163,7 @@ Niklas -
Aus Benutzeransicht anzeigen
+
<%- @Icon('switchView') %> Aus Benutzeransicht anzeigen
@@ -175,7 +175,7 @@ Hubermeyerschmidt -
Aus Benutzeransicht anzeigen
+
<%- @Icon('switchView') %> Aus Benutzeransicht anzeigen
@@ -187,7 +187,7 @@ Braun -
Aus Benutzeransicht anzeigen
+
<%- @Icon('switchView') %> Aus Benutzeransicht anzeigen
@@ -199,7 +199,7 @@ Blanko -
Aus Benutzeransicht anzeigen
+
<%- @Icon('switchView') %> Aus Benutzeransicht anzeigen
diff --git a/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco b/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco index 367c14402..c3ec4a1cc 100644 --- a/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco @@ -4,9 +4,9 @@