Project

General

Profile

« Previous | Next » 

Revision 57821

[Monitor-Dashboard|Trunk]

add more charts about Open science.

Get full url: replace parameters more than once
add subtitle in indicator parameters/form

View differences:

indicators.component.ts
285 285
    this.addUrl();
286 286
    this.editIndicatorModal.alertTitle = 'Create a new chart Indicator';
287 287
    this.editIndicatorModal.cancelButtonText = 'Cancel';
288
    this.editIndicatorModal.okButtonText = 'Create';
288
    this.editIndicatorModal.okButtonText = 'Next';
289 289
    this.editIndicatorModal.okButtonLeft = false;
290 290
    this.editIndicatorModal.alertMessage = false;
291 291
    this.editIndicatorModal.stayOpen = true;
......
318 318
    this.indicator.indicatorPaths.forEach(indicatorPath => {
319 319
      let parameters = this.fb.array([]);
320 320
      if (indicatorPath.parameters) {
321
        console.info(indicatorPath.parameters);
321 322
        Object.keys(indicatorPath.parameters).forEach(key => {
322 323
          if (this.indicatorUtils.ignoredParameters.indexOf(key) === -1) {
323 324
            if (this.indicatorUtils.parametersValidators.has(key)) {
......
328 329
            } else {
329 330
              parameters.push(this.fb.group({
330 331
                key: this.fb.control(key),
331
                value: this.fb.control(indicatorPath.parameters[key], Validators.required)
332
                value: this.fb.control(indicatorPath.parameters[key])
332 333
              }));
333 334
            }
334 335
          }

Also available in: Unified diff