Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Show icon on ShareWP trigger button

Henriette Dargea1d45ce1da75
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html
index ddf751d5607..e452532e6ea 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-share-button/wp-share-button.html
@@ -2,6 +2,10 @@
class="button toolbar-icon"
(click)="openModal()"
>
- <!-- Todo: <svg share-android></svg> -->
+ <svg
+ share-android-icon
+ class="button--icon"
+ size="small"
+ ></svg>
<span class="button--text" [textContent]="text.share"></span>
</button>
diff --git a/frontend/src/app/shared/components/icon/icon.module.ts b/frontend/src/app/shared/components/icon/icon.module.ts
index 06b50f223f8..228c3994808 100644
--- a/frontend/src/app/shared/components/icon/icon.module.ts
+++ b/frontend/src/app/shared/components/icon/icon.module.ts
@@ -1,10 +1,13 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { OpIconComponent } from './icon.component';
+import { ShareAndroidIconComponent } from '@openproject/octicons-angular';
@NgModule({
imports: [
CommonModule,
+
+ ShareAndroidIconComponent,
],
declarations: [
OpIconComponent,
@@ -13,6 +16,8 @@ import { OpIconComponent } from './icon.component';
],
exports: [
OpIconComponent,
+
+ ShareAndroidIconComponent,
],
})
export class IconModule {}