mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
modify label about project access level
This commit is contained in:
parent
f6595bedad
commit
ad38106642
@ -25,7 +25,7 @@
|
|||||||
<div class="checkbox-inline">
|
<div class="checkbox-inline">
|
||||||
<input type="checkbox" id="create_project_public" [(ngModel)]="project.metadata.public" name="public">
|
<input type="checkbox" id="create_project_public" [(ngModel)]="project.metadata.public" name="public">
|
||||||
<label for="create_project_public"></label>
|
<label for="create_project_public"></label>
|
||||||
<span class="access-level-label">{{ accessLevelDisplayText | translate}}</span>
|
<span class="access-level-label">{{ 'PROJECT.PUBLIC' | translate}}</span>
|
||||||
<a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-md tooltip-bottom-right" style="top:-8px; left:-8px;">
|
<a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-md tooltip-bottom-right" style="top:-8px; left:-8px;">
|
||||||
<clr-icon shape="info-circle" class="info-tips-icon" size="24"></clr-icon>
|
<clr-icon shape="info-circle" class="info-tips-icon" size="24"></clr-icon>
|
||||||
<span class="tooltip-content" style="margin-left: 5px;">{{'PROJECT.INLINE_HELP_PUBLIC' | translate }}</span>
|
<span class="tooltip-content" style="margin-left: 5px;">{{'PROJECT.INLINE_HELP_PUBLIC' | translate }}</span>
|
||||||
|
@ -72,9 +72,6 @@ export class CreateProjectComponent implements AfterViewChecked, OnInit, OnDestr
|
|||||||
private translateService: TranslateService,
|
private translateService: TranslateService,
|
||||||
private messageHandlerService: MessageHandlerService) { }
|
private messageHandlerService: MessageHandlerService) { }
|
||||||
|
|
||||||
public get accessLevelDisplayText(): string {
|
|
||||||
return this.project.metadata.public ? 'PROJECT.PUBLIC' : 'PROJECT.PRIVATE';
|
|
||||||
}
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.proNameChecker
|
this.proNameChecker
|
||||||
|
Loading…
Reference in New Issue
Block a user