From 76abd23553d236d33f05aaa323e8099d951c9601 Mon Sep 17 00:00:00 2001 From: bsatarnejad Date: Thu, 1 Dec 2022 15:39:08 +0100 Subject: [PATCH] add a new image for Enterprise image used in banners and enterprise administration page --- app/assets/images/enterprise-add-on.svg | 1 + app/assets/images/premium_features.svg | 1 - app/views/common/upsale.html.erb | 2 +- app/views/enterprises/_info.html.erb | 2 +- app/views/homescreen/blocks/_upsale.html.erb | 2 +- .../enterprise-banner.component.ts | 2 +- .../enterprise-page/enterprise-page.component.ts | 2 +- frontend/src/assets/images/enterprise-add-on.svg | 1 + .../src/assets/images/enterprise_edition.png | Bin 4598 -> 0 bytes 9 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 app/assets/images/enterprise-add-on.svg delete mode 100644 app/assets/images/premium_features.svg create mode 100644 frontend/src/assets/images/enterprise-add-on.svg delete mode 100644 frontend/src/assets/images/enterprise_edition.png diff --git a/app/assets/images/enterprise-add-on.svg b/app/assets/images/enterprise-add-on.svg new file mode 100644 index 0000000000..29ba8cd25b --- /dev/null +++ b/app/assets/images/enterprise-add-on.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/assets/images/premium_features.svg b/app/assets/images/premium_features.svg deleted file mode 100644 index cbb04f46a8..0000000000 --- a/app/assets/images/premium_features.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/views/common/upsale.html.erb b/app/views/common/upsale.html.erb index 0b3f770fc9..4ebe479008 100644 --- a/app/views/common/upsale.html.erb +++ b/app/views/common/upsale.html.erb @@ -32,7 +32,7 @@ <% elsif feature_image.present? %> <%= image_tag feature_image, class: "widget-box--teaser-image" %> <% else %> - <%= image_tag "enterprise_edition.png", class: "widget-box--teaser-image_default" %> + <%= image_tag "enterprise-add-on.svg", class: "widget-box--teaser-image_default" %> <% end %>

<%= feature_title %> <%= t('admin.enterprise.enterprise_info_html') %> diff --git a/app/views/enterprises/_info.html.erb b/app/views/enterprises/_info.html.erb index 295abd0ba1..45583e8b7f 100644 --- a/app/views/enterprises/_info.html.erb +++ b/app/views/enterprises/_info.html.erb @@ -90,7 +90,7 @@ See COPYRIGHT and LICENSE files for more details.

- <%= image_tag "premium_features.svg", + <%= image_tag "enterprise-add-on.svg", class: "info-boxes--teaser-image", title: t('js.admin.enterprise.upsale.benefits.premium_features'), alt: t('js.admin.enterprise.upsale.benefits.premium_features') %> diff --git a/app/views/homescreen/blocks/_upsale.html.erb b/app/views/homescreen/blocks/_upsale.html.erb index 348fd06b72..10ddde661f 100644 --- a/app/views/homescreen/blocks/_upsale.html.erb +++ b/app/views/homescreen/blocks/_upsale.html.erb @@ -1,5 +1,5 @@
- <%= image_tag "enterprise_edition.png", class: "widget-box--blocks--upsale-image" %> + <%= image_tag "enterprise-add-on.svg", class: "widget-box--blocks--upsale-image" %>
diff --git a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts index 8566eeb053..86918626bb 100644 --- a/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts +++ b/frontend/src/app/shared/components/enterprise-banner/enterprise-banner.component.ts @@ -52,7 +52,7 @@ export class EnterpriseBannerComponent implements OnInit { }; image = { - enterprise_edition: imagePath('enterprise_edition.png'), + enterprise_edition: imagePath('enterprise-add-on.svg'), }; constructor( diff --git a/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.ts b/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.ts index af8d9ea8a2..fccebbce57 100644 --- a/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.ts +++ b/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.ts @@ -46,7 +46,7 @@ export class EnterprisePageComponent { }; image = { - enterprise_edition: imagePath('enterprise_edition.png'), + enterprise_edition: imagePath('enterprise-add-on.svg'), }; constructor( diff --git a/frontend/src/assets/images/enterprise-add-on.svg b/frontend/src/assets/images/enterprise-add-on.svg new file mode 100644 index 0000000000..29ba8cd25b --- /dev/null +++ b/frontend/src/assets/images/enterprise-add-on.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/assets/images/enterprise_edition.png b/frontend/src/assets/images/enterprise_edition.png deleted file mode 100644 index abc36e1ee7ab547f5f72fa86e428415a12538b99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4598 zcmb7IX*`tQ+rMXwWx_9}WQ#0AWZ#uFku|cD$WN9KDr?pu`@T~$wkZ3)Wt&1|8#|3P zC0k6!GK}rH^?zPIFP{H-aewa5xzD+l?{!_@>zq64zOFj$1(pi{0MKe`s2TtO1OmSI zQc-}HNCW^52%roFP%r?11OLAdng5I^M~&eqVvQ|+rlZv2;7yx}<1L46&`|2_ocb4x z-Y#F(nR-R8aM17!i*stv%8AdoZKY%DHF_@#EtL6ZeaO=QILdgQtq$1fU;3!~Efxma zfk2T$)L3)P#uFH_-rRV!TdlP)&Z_~ym78`#N|O*N^XAO0>&(kie$E{;X2w~9#}W(_ zoll2$qPxX}R|D9~6uHABSBHMY5;yNunjbDr?OfQBB{iYcp}6EXdz$ut)^i9Up^N{H zef;XZ=W)1KI&+~#Ly;Yy{>lQt4HH)CY}z>y;aV_wKYvA9_>413 zzh-WgRq1i>`ahr2F$!+>QU6?W?^F~*)FcA1B+mUn^k;9Y47In#GzKlHIV?zN13~96 zUm1UrS5md_pz&MJ^{Tf0N^%QdKEgb@abh_b!XLb1|1*j~PB$z7{k9bjSFRdfXsdTe zn?H-ccwM8&poeE5e4k6k&9%%A+TK?~1x z!CZg?vz#X71AmswR>%GNdnm`1I3P&i-yq&aC*-3i8LiYdXqoZ59kxsb?W^np%1{m9 z^VI+wy;iSpa&Hy{%82BkfUilYVM_Aa<-9iS3wfLfFo(csf!Txva|ukV|DBkn=U20H zG5O7BVKFvMj45iZ%F{)Px}4~XeKkhZ41DvK&*!OXUEJ;D4=a>&eiIgc;_7y}!WuW)b% zBc5(Ynw|Q=t&R?QIDimMfiYbIKDI#bEosoebeTQ>dcADCL@Ox_#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