2021-12-08 23:21:39 +00:00
|
|
|
<my-widget-config
|
|
|
|
[widgetComponent]="this"
|
|
|
|
addTitle="{{'Create new notepad' | translate}}"
|
|
|
|
editTitle="{{'Notepads' | translate}}"
|
|
|
|
>
|
2017-12-23 20:16:05 +00:00
|
|
|
<ng-template #widgetParamsTemplate let-widget="widget">
|
2021-12-08 23:21:39 +00:00
|
|
|
<my-field
|
|
|
|
label="{{'Pad name' | translate}}"
|
|
|
|
[placeholder]="defaultName"
|
|
|
|
[(value)]="widget.dimension.newName"
|
|
|
|
[disabled]="isUpdating"
|
|
|
|
[maxlength]="39"
|
|
|
|
></my-field>
|
|
|
|
<my-field
|
|
|
|
label="{{'Pad URL' | translate}}"
|
|
|
|
placeholder="https://scalar.vector.im/etherpad/p/MyCoolPadName"
|
|
|
|
[(value)]="widget.dimension.newUrl"
|
|
|
|
[disabled]="isUpdating"
|
|
|
|
></my-field>
|
2017-12-23 20:16:05 +00:00
|
|
|
</ng-template>
|
2020-10-23 11:30:20 +00:00
|
|
|
</my-widget-config>
|