File tree Expand file tree Collapse file tree 4 files changed +0
-19
lines changed
app/views/project/show/admin Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ export class ProjectAdminComponent implements OnInit {
39
39
40
40
loading = false ;
41
41
fileTooLarge = false ;
42
- migrationValue = 0 ;
43
42
user : User ;
44
43
45
44
constructor ( private _projectStore : ProjectStore , private _toast : ToastService ,
@@ -49,15 +48,6 @@ export class ProjectAdminComponent implements OnInit {
49
48
if ( this . project . permission !== 7 ) {
50
49
this . _router . navigate ( [ '/project' , this . project . key ] , { queryParams : { tab : 'applications' } } ) ;
51
50
}
52
- if ( this . project . applications ) {
53
- this . project . applications . forEach ( app => {
54
- if ( app . workflow_migration === 'STARTED' ) {
55
- this . migrationValue += 0.5 ;
56
- } else if ( app . workflow_migration === 'DONE' || app . workflow_migration === 'CLEANING' ) {
57
- this . migrationValue ++ ;
58
- }
59
- } ) ;
60
- }
61
51
this . user = this . _authStore . getUser ( ) ;
62
52
}
63
53
Original file line number Diff line number Diff line change 1
1
< div id ="projectAdmin ">
2
- < app-zone header ="{{ 'project_workflow_migration_title' | translate }} " *ngIf ="user.admin || project.workflow_migration !== 'NOT_BEGUN' ">
3
- < app-zone-content class ="bottom ">
4
- < sui-progress class ="indicating " [value] ="migrationValue " [showProgress] ="true " [maximum] ="project.application_names?.length " [precision] ="0 " *ngIf ="project.workflow_migration === 'STARTED' ">
5
- </ sui-progress >
6
- < i class ="green check icon " *ngIf ="project.workflow_migration === 'DONE' || project.workflow_migration === 'CLEANING' "> </ i >
7
- </ app-zone-content >
8
- </ app-zone >
9
2
< app-zone header ="{{ 'project_rename_title' | translate }} ">
10
3
< app-zone-content class ="bottom ">
11
4
< form class ="ui form " (ngSubmit) ="onSubmitProjectUpdate() " #projectUpdateFrom ="ngForm ">
Original file line number Diff line number Diff line change 546
546
"project_env_permission_form_title" : " Add permissions on environments" ,
547
547
&quo
9E8E
t;project_key" : " Project unique key" ,
548
548
"project_key_error" : " Project unique key is mandatory and must be in upper case" ,
549
- "project_workflow_migration_title" : " Workflow migration progress" ,
550
549
"project_name" : " Project name" ,
551
550
"project_name_error" : " project name is mandatory" ,
552
551
"project_no" : " There is no project" ,
Original file line number Diff line number Diff line change 546
546
"project_env_permission_form_title" : " Ajouter des permissions sur des environnements" ,
547
547
"project_key" : " Identifiant du projet" ,
548
548
"project_key_error" : " L'identifiant est obligatoire et doit etre en majuscule" ,
549
- "project_workflow_migration_title" : " Avancement de la migration vers les workflows" ,
550
549
"project_name" : " Nom du projet" ,
551
550
"project_name_error" : " Le nom du projet est obligatoire" ,
552
551
"project_no" : " Il n'y a aucun projet" ,
You can’t perform that action at this time.
0 commit comments