Browse Source
Feature/add copy-to-clipboard button to coupon code (#6702)
Add copy-to-clipboard button to coupon code
pull/6708/head
Thomas Kaul
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
1 deletions
-
apps/client/src/app/components/admin-overview/admin-overview.html
|
|
|
@ -107,7 +107,13 @@ |
|
|
|
<table> |
|
|
|
@for (coupon of coupons; track coupon) { |
|
|
|
<tr> |
|
|
|
<td class="text-monospace">{{ coupon.code }}</td> |
|
|
|
<td> |
|
|
|
<gf-value |
|
|
|
class="text-monospace" |
|
|
|
[enableCopyToClipboardButton]="true" |
|
|
|
[value]="coupon.code" |
|
|
|
/> |
|
|
|
</td> |
|
|
|
<td class="pl-2 text-right"> |
|
|
|
{{ formatStringValue(coupon.duration) }} |
|
|
|
</td> |
|
|
|
|