Skip to content

Commit

Permalink
Merge pull request #14537 from opf/housekeeping/use-octicon-for-ee-icon
Browse files Browse the repository at this point in the history
Use octicon for EE icon in share button
  • Loading branch information
HDinger committed Jan 11, 2024
2 parents 450a3e0 + cb70d1c commit e982f64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
></svg>
<span class="button--text" [textContent]="text.share"></span>

<span class="spot-icon spot-icon_enterprise-addons upsale-colored"></span>
<svg
op-enterprise-addons-icon
class="button--icon upsale-colored"
size="small"
></svg>
</button>
3 changes: 3 additions & 0 deletions frontend/src/app/shared/components/icon/icon.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { OpIconComponent } from './icon.component';
import {
OpEnterpriseAddonsIconComponent,
ShareAndroidIconComponent,
XIconComponent,
} from '@openproject/octicons-angular';
Expand All @@ -12,6 +13,7 @@ import {

ShareAndroidIconComponent,
XIconComponent,
OpEnterpriseAddonsIconComponent,
],
declarations: [
OpIconComponent,
Expand All @@ -23,6 +25,7 @@ import {

ShareAndroidIconComponent,
XIconComponent,
OpEnterpriseAddonsIconComponent,
],
})
export class IconModule {}

0 comments on commit e982f64

Please sign in to comment.