diff --git a/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.css.ts b/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.css.ts index 8bf46d759..fbb1d6448 100644 --- a/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.css.ts +++ b/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.css.ts @@ -20,4 +20,5 @@ export const CREATE_EDIT_LABEL_STYLE: string = ` height:22px; min-width: 26px;} .dropdown-item{border:0px; color: white; font-size:12px;} + .dropdown .dropdown-toggle.btn{padding:0 !important;} `; \ No newline at end of file diff --git a/src/ui_ng/lib/src/create-edit-rule/create-edit-rule.component.css.ts b/src/ui_ng/lib/src/create-edit-rule/create-edit-rule.component.css.ts index aa63742f4..b842ce255 100644 --- a/src/ui_ng/lib/src/create-edit-rule/create-edit-rule.component.css.ts +++ b/src/ui_ng/lib/src/create-edit-rule/create-edit-rule.component.css.ts @@ -19,7 +19,7 @@ h4{ } .colorRed{color: red;} .colorRed a{text-decoration: underline;color: #007CBB;} -.alertLabel{display:block; margin-top:0; line-height:1em; font-size:12px;} +.alertLabel{display:block; margin-top:2px; line-height:1em; font-size:12px;} .inputWidth{width: 270px;} .endpointSelect{ width: 270px; margin-right: 20px;} diff --git a/src/ui_ng/lib/src/label-piece/label-piece.template.ts b/src/ui_ng/lib/src/label-piece/label-piece.template.ts index cc8d94336..9fd26a292 100644 --- a/src/ui_ng/lib/src/label-piece/label-piece.template.ts +++ b/src/ui_ng/lib/src/label-piece/label-piece.template.ts @@ -11,7 +11,7 @@ export const LABEL_PIEICE_TEMPLATE: string = ` `; export const LABEL_PIEICE_STYLES: string = ` - .label{border: none; color:#222;padding-top:2px;} + .label{border: none; color:#222;padding-top:2px; max-width:140px;} .label clr-icon{ margin-right: 3px; display:block;} .btn-group .dropdown-menu clr-icon{display:block;} `; \ No newline at end of file diff --git a/src/ui_ng/lib/src/label/label.component.ts b/src/ui_ng/lib/src/label/label.component.ts index 0530f793f..6cb1727c3 100644 --- a/src/ui_ng/lib/src/label/label.component.ts +++ b/src/ui_ng/lib/src/label/label.component.ts @@ -112,8 +112,8 @@ export class LabelComponent implements OnInit { this.batchDelectionInfos.push(initBatchMessage); }); let deletionMessage = new ConfirmationMessage( - 'REPLICATION.DELETION_TITLE_TARGET', - 'REPLICATION.DELETION_SUMMARY_TARGET', + 'LABEL.DELETION_TITLE_TARGET', + 'LABEL.DELETION_SUMMARY_TARGET', targetNames.join(', ') || '', targets, ConfirmationTargets.TARGET, diff --git a/src/ui_ng/lib/src/repository-listview/repository-listview.component.ts b/src/ui_ng/lib/src/repository-listview/repository-listview.component.ts index 4886db198..6440c9f05 100644 --- a/src/ui_ng/lib/src/repository-listview/repository-listview.component.ts +++ b/src/ui_ng/lib/src/repository-listview/repository-listview.component.ts @@ -176,6 +176,13 @@ export class RepositoryListviewComponent implements OnChanges, OnInit { }); return; } + if (error.status === 503) { + Observable.forkJoin(this.translateService.get('BATCH.DELETED_FAILURE'), + this.translateService.get('REPOSITORY.TAGS_NO_DELETE')).subscribe(res => { + findedList = BathInfoChanges(findedList, res[0], false, true, res[1]); + }); + return; + } this.translateService.get('BATCH.DELETED_FAILURE').subscribe(res => { findedList = BathInfoChanges(findedList, res, false, true); }); diff --git a/src/ui_ng/lib/src/tag/tag-detail.component.html.ts b/src/ui_ng/lib/src/tag/tag-detail.component.html.ts index af9394f5e..e8989d94a 100644 --- a/src/ui_ng/lib/src/tag/tag-detail.component.html.ts +++ b/src/ui_ng/lib/src/tag/tag-detail.component.html.ts @@ -30,7 +30,7 @@ export const TAG_DETAIL_HTML: string = ` -