Revision 60969
Added by Konstantinos Triantafyllou almost 3 years ago
subscribe.component.ts | ||
---|---|---|
26 | 26 |
<a class="uk-alert-close" uk-close></a> |
27 | 27 |
<p>Please login first to subscribe</p> |
28 | 28 |
</div> |
29 |
<button *ngIf="loading" class="uk-button portal-button uk-button-small uk-width-1-1"> |
|
29 |
<button *ngIf="loading" id="subscribe" class="uk-button portal-button uk-button-small uk-width-1-1">
|
|
30 | 30 |
<span class="uk-icon"><loading [top_margin]="false" [size]="'small'" [color]="null"></loading></span> |
31 | 31 |
</button> |
32 |
<button *ngIf="!subscribed && !loading" class="uk-button portal-button uk-button-small uk-width-1-1" |
|
32 |
<button *ngIf="!subscribed && !loading" id="subscribe" class="uk-button portal-button uk-button-small uk-width-1-1"
|
|
33 | 33 |
(click)="subscribe()"> |
34 | 34 |
<span class="uk-icon uk-flex uk-flex-middle"> |
35 | 35 |
<svg height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> |
... | ... | |
40 | 40 |
<span class="space">Subscribe</span> |
41 | 41 |
</span> |
42 | 42 |
</button> |
43 |
<button *ngIf="subscribed && !loading" class="subscribed-button uk-button uk-button-small uk-width-1-1" |
|
43 |
<button *ngIf="subscribed && !loading" id="subscribe" class="subscribed-button uk-button uk-button-small uk-width-1-1"
|
|
44 | 44 |
(click)="confirmOpen()" [disabled]="isManager" [attr.uk-tooltip]="isManager?'You cannot unsubscribe because you are a manager':null"> |
45 | 45 |
<span class="uk-icon uk-flex uk-flex-middle"> |
46 | 46 |
<svg height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> |
... | ... | |
71 | 71 |
|
72 | 72 |
loading: boolean = false; |
73 | 73 |
subscribed: boolean = null; |
74 |
@Input() properties: EnvProperties = properties;
|
|
74 |
properties: EnvProperties = properties; |
|
75 | 75 |
members: number = 0; |
76 | 76 |
@Output() countSubscribersEvent = new EventEmitter(); |
77 | 77 |
showLoginAlert: Boolean = false; |
Also available in: Unified diff
[Connect | Trunk]: Add subscriber invite module from library