From 54e7884775197877dd941b44bef03b3c6387b22a Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 6 Mar 2020 16:58:55 +0100 Subject: Normalize modal close buttons, and cancel/submit button styles --- client/src/app/shared/video/modals/video-blacklist.component.html | 8 ++++++-- client/src/app/shared/video/video-actions-dropdown.component.ts | 7 ++----- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'client/src/app/shared/video') diff --git a/client/src/app/shared/video/modals/video-blacklist.component.html b/client/src/app/shared/video/modals/video-blacklist.component.html index 1a87bdcd4..857a4dcec 100644 --- a/client/src/app/shared/video/modals/video-blacklist.component.html +++ b/client/src/app/shared/video/modals/video-blacklist.component.html @@ -18,8 +18,12 @@
+ i18n-labelText labelText="Unfederate the video" + > + + This will ask remote instances to delete it + +
diff --git a/client/src/app/shared/video/video-actions-dropdown.component.ts b/client/src/app/shared/video/video-actions-dropdown.component.ts index 69f45346e..67c4d6fbc 100644 --- a/client/src/app/shared/video/video-actions-dropdown.component.ts +++ b/client/src/app/shared/video/video-actions-dropdown.component.ts @@ -1,8 +1,7 @@ -import { AfterViewInit, Component, EventEmitter, Input, OnChanges, Output, ViewChild } from '@angular/core' +import { Component, EventEmitter, Input, OnChanges, Output, ViewChild } from '@angular/core' import { I18n } from '@ngx-translate/i18n-polyfill' import { DropdownAction, DropdownButtonSize, DropdownDirection } from '@app/shared/buttons/action-dropdown.component' -import { AuthService, ConfirmService, Notifier, ServerService } from '@app/core' -import { BlocklistService } from '@app/shared/blocklist' +import { AuthService, ConfirmService, Notifier } from '@app/core' import { Video } from '@app/shared/video/video.model' import { VideoService } from '@app/shared/video/video.service' import { VideoDetails } from '@app/shared/video/video-details.model' @@ -73,10 +72,8 @@ export class VideoActionsDropdownComponent implements OnChanges { private notifier: Notifier, private confirmService: ConfirmService, private videoBlacklistService: VideoBlacklistService, - private serverService: ServerService, private screenService: ScreenService, private videoService: VideoService, - private blocklistService: BlocklistService, private redundancyService: RedundancyService, private i18n: I18n ) { } -- cgit v1.2.3