diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared/video-edit.component.html')
-rw-r--r-- | client/src/app/+videos/+video-edit/shared/video-edit.component.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index b0da84979..b607dabe9 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html | |||
@@ -22,7 +22,7 @@ | |||
22 | </div> | 22 | </div> |
23 | 23 | ||
24 | <div class="form-group"> | 24 | <div class="form-group"> |
25 | <label i18n class="label-tags">Tags</label> | 25 | <label for="label-tags" i18n class="label-tags">Tags</label> |
26 | 26 | ||
27 | <my-help> | 27 | <my-help> |
28 | <ng-template ptTemplate="customHtml"> | 28 | <ng-template ptTemplate="customHtml"> |
@@ -170,10 +170,10 @@ | |||
170 | <div class="captions"> | 170 | <div class="captions"> |
171 | 171 | ||
172 | <div class="captions-header"> | 172 | <div class="captions-header"> |
173 | <a (click)="openAddCaptionModal()" class="create-caption"> | 173 | <button (click)="openAddCaptionModal()" class="peertube-create-button"> |
174 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> | 174 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
175 | <ng-container i18n>Add another caption</ng-container> | 175 | <ng-container i18n>Add another caption</ng-container> |
176 | </a> | 176 | </button> |
177 | </div> | 177 | </div> |
178 | 178 | ||
179 | <div class="form-group" *ngFor="let videoCaption of videoCaptions"> | 179 | <div class="form-group" *ngFor="let videoCaption of videoCaptions"> |
@@ -187,8 +187,8 @@ | |||
187 | 187 | ||
188 | <div i18n class="caption-entry-state">Already uploaded on {{ videoCaption.updatedAt | date }} ✔</div> | 188 | <div i18n class="caption-entry-state">Already uploaded on {{ videoCaption.updatedAt | date }} ✔</div> |
189 | 189 | ||
190 | <span i18n class="caption-entry-edit" (click)="openEditCaptionModal(videoCaption)">Edit</span> | 190 | <button i18n class="caption-entry-edit" (click)="openEditCaptionModal(videoCaption)">Edit</button> |
191 | <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span> | 191 | <button i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</button> |
192 | </ng-container> | 192 | </ng-container> |
193 | 193 | ||
194 | <ng-container *ngIf="videoCaption.action === 'CREATE'"> | 194 | <ng-container *ngIf="videoCaption.action === 'CREATE'"> |
@@ -196,7 +196,7 @@ | |||
196 | 196 | ||
197 | <div i18n class="caption-entry-state caption-entry-state-create">Will be created on update</div> | 197 | <div i18n class="caption-entry-state caption-entry-state-create">Will be created on update</div> |
198 | 198 | ||
199 | <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel create</span> | 199 | <button i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel create</button> |
200 | </ng-container> | 200 | </ng-container> |
201 | 201 | ||
202 | <ng-container *ngIf="videoCaption.action === 'UPDATE'"> | 202 | <ng-container *ngIf="videoCaption.action === 'UPDATE'"> |
@@ -204,7 +204,7 @@ | |||
204 | 204 | ||
205 | <div i18n class="caption-entry-state caption-entry-state-create">Will be edited on update</div> | 205 | <div i18n class="caption-entry-state caption-entry-state-create">Will be edited on update</div> |
206 | 206 | ||
207 | <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel edition</span> | 207 | <button i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel edition</button> |
208 | </ng-container> | 208 | </ng-container> |
209 | 209 | ||
210 | <ng-container *ngIf="videoCaption.action === 'REMOVE'"> | 210 | <ng-container *ngIf="videoCaption.action === 'REMOVE'"> |
@@ -212,7 +212,7 @@ | |||
212 | 212 | ||
213 | <div i18n class="caption-entry-state caption-entry-state-delete">Will be deleted on update</div> | 213 | <div i18n class="caption-entry-state caption-entry-state-delete">Will be deleted on update</div> |
214 | 214 | ||
215 | <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel deletion</span> | 215 | <button i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel deletion</button> |
216 | </ng-container> | 216 | </ng-container> |
217 | </div> | 217 | </div> |
218 | </div> | 218 | </div> |