Reorganize client shared modules
[oweals/peertube.git] / client / src / app / shared / shared-main / buttons / edit-button.component.html
diff --git a/client/src/app/shared/shared-main/buttons/edit-button.component.html b/client/src/app/shared/shared-main/buttons/edit-button.component.html
new file mode 100644 (file)
index 0000000..b852bb3
--- /dev/null
@@ -0,0 +1,6 @@
+<a class="action-button action-button-edit grey-button" [routerLink]="routerLink" i18n-title title="Edit">
+  <my-global-icon iconName="edit" aria-hidden="true"></my-global-icon>
+
+  <span class="button-label" *ngIf="label">{{ label }}</span>
+  <span i18n class="button-label" *ngIf="!label">Edit</span>
+</a>