diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html | 11 | ||||
-rw-r--r-- | client/src/app/+videos/+video-edit/video-update.component.html | 8 |
2 files changed, 8 insertions, 11 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html index 2c40892ee..8af1687e6 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html | |||
@@ -79,12 +79,9 @@ | |||
79 | <div class="submit-container"> | 79 | <div class="submit-container"> |
80 | <div i18n *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div> | 80 | <div i18n *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div> |
81 | 81 | ||
82 | <div class="submit-button" | 82 | <my-button className="orange-button" i18n-label label="Publish" icon="circle-tick" |
83 | (click)="updateSecondStep()" | 83 | (click)="updateSecondStep()" (keydown.enter)="updateSecondStep()" |
84 | [ngClass]="{ disabled: isPublishingButtonDisabled() }" | 84 | [disabled]="isPublishingButtonDisabled()" |
85 | > | 85 | ></my-button> |
86 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> | ||
87 | <input [disabled]="isPublishingButtonDisabled()" type="button" i18n-value value="Publish" /> | ||
88 | </div> | ||
89 | </div> | 86 | </div> |
90 | </form> | 87 | </form> |
diff --git a/client/src/app/+videos/+video-edit/video-update.component.html b/client/src/app/+videos/+video-edit/video-update.component.html index 1517d4991..6c1239395 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.html +++ b/client/src/app/+videos/+video-edit/video-update.component.html | |||
@@ -13,10 +13,10 @@ | |||
13 | ></my-video-edit> | 13 | ></my-video-edit> |
14 | 14 | ||
15 | <div class="submit-container"> | 15 | <div class="submit-container"> |
16 | <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }"> | 16 | <my-button className="orange-button" i18n-label label="Update" icon="circle-tick" |
17 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> | 17 | (click)="update()" (keydown.enter)="update()" |
18 | <input type="button" i18n-value value="Update" /> | 18 | [disabled]="!form.valid || isUpdatingVideo === true" |
19 | </div> | 19 | ></my-button> |
20 | </div> | 20 | </div> |
21 | </form> | 21 | </form> |
22 | </div> | 22 | </div> |