Revision 50290
Added by Myrto Koukouli over 6 years ago
adminPg-metrics.component.ts | ||
---|---|---|
34 | 34 |
|
35 | 35 |
/* NEEDS TO CALL GET PIWIK INFO INSTEAD!! */ |
36 | 36 |
getPiwiks(){ |
37 |
this.piwiks = [ |
|
38 |
{ |
|
39 |
'repositoryId': 'repo_id', |
|
40 |
'openaireId': 'oa_id', |
|
41 |
'repositoryName': 'the repo name', |
|
42 |
'country': 'Greece', |
|
43 |
'siteId': '123', |
|
44 |
'authenticationToken': '32846584f571be9b57488bf4088f30ea', |
|
45 |
'creationDate': new Date(2018, 1, 3), |
|
46 |
'requestorName': 'Bla blabla', |
|
47 |
'requestorEmail': 'blabla@gmail.com', |
|
48 |
'validated': false, |
|
49 |
'validationDate': new Date(2018, 1, 3), |
|
50 |
'comment' : '' |
|
51 |
}, |
|
52 |
{ |
|
53 |
'repositoryId': 'repo_id2', |
|
54 |
'openaireId': 'oa_id2', |
|
55 |
'repositoryName': 'the repo name2', |
|
56 |
'country': 'Greece', |
|
57 |
'siteId': '123', |
|
58 |
'authenticationToken': '32846584f88f30easdfasdfa', |
|
59 |
'creationDate': new Date(2018, 1, 4), |
|
60 |
'requestorName': 'Bla blabla', |
|
61 |
'requestorEmail': 'blabla2@gmail.com', |
|
62 |
'validated': true, |
|
63 |
'validationDate': new Date(2018, 1, 4), |
|
64 |
'comment' : '' |
|
65 |
}, |
|
66 |
{ |
|
67 |
'repositoryId': 'repo_id3', |
|
68 |
'openaireId': 'oa_id', |
|
69 |
'repositoryName': 'the repo name', |
|
70 |
'country': 'Greece', |
|
71 |
'siteId': '123', |
|
72 |
'authenticationToken': '32846584f571be9b57488bf4088f30ea', |
|
73 |
'creationDate': new Date(2018, 1, 3), |
|
74 |
'requestorName': 'Bla blabla', |
|
75 |
'requestorEmail': 'blabla2@gmail.com', |
|
76 |
'validated': false, |
|
77 |
'validationDate': new Date(2018, 1, 3), |
|
78 |
'comment' : '' |
|
79 |
} |
|
80 |
] |
|
81 |
/* |
|
82 | 37 |
this.showSpinner = true; |
83 | 38 |
this.loadingMessage = loadingReposMessage; |
84 | 39 |
this.repoService.getPiwikSitesForRepos() |
... | ... | |
103 | 58 |
this.loadingMessage = ''; |
104 | 59 |
} |
105 | 60 |
); |
106 |
*/ |
|
107 | 61 |
} |
108 | 62 |
|
109 | 63 |
/*NOT SURE IF THESE PARAMETERS ARE THE CORRECT ONES*/ |
Also available in: Unified diff
forms array view works!