Project

General

Profile

« Previous | Next » 

Revision 50977

finalized sources register and update

View differences:

datasource-info-form.component.html
4 4
  </div>
5 5
  <div class="whiteFilm"></div>
6 6
</div>
7
<form [formGroup]="updateGroup" *ngIf="selectedRepo">
7
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
8
<div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div>
9
<form *ngIf="selectedRepo" [formGroup]="updateGroup">
8 10
  <div>
9 11
    <h4 class="uk-h4 uk-text-primary uk-scrollspy-inview uk-animation-slide-top-medium" uk-scrollspy-class="">
10 12
      Basic information
11 13
    </h4>
12 14
  </div>
13
  <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
14
  <div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div>
15
  <div class="uk-alert uk-alert-warning">
16
    The following fields are completed by {{ sourceTitle }}.<br>
17
    If you want to edit them, you can do it by using this
18
    <a href="{{ sourceLinkToRepo }}" target="_blank">{{ sourceTitle }} link</a>
19
  </div>
20 15
  <form-inline [description]="softwarePlatformDesc">
21 16
    <select formControlName="softwarePlatform" class="form-control">
22
<!--      <option value="" selected>[Other] (enter name below)</option>-->
17
<!--      <option value="" selected>[Other] (enter name below)</option> RESTORE AFTER getTypologies begins to work-->
23 18
      <option *ngFor="let platform of typologies" value="{{ platform.value }}">{{ platform.name }}</option>
24 19
    </select>
25 20
  </form-inline>
26 21
  <form-inline [description]="platformNameDesc">
22
    <span *ngIf="group.get('platformName').touched && group.get('platformName').value"
23
          class="help-block inline"
24
          style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">This value will be used as the platform for your repository</span>
27 25
    <input formControlName="platformName" class="form-control" style="" type="text">
28 26
  </form-inline>
29 27
  <form-inline [description]="officialNameDesc" >
30 28
    <input formControlName="officialName" class="form-control" style="" type="text">
31 29
  </form-inline>
32
  <div *ngIf="isJournal">
30
  <div *ngIf="selectedRepo.datasourceType == 'journal'">
33 31
    <form-inline [description]="issnDesc" [valid]="group.get('issn').valid">
34 32
      <span *ngIf="group.get('issn').invalid && group.get('issn').touched && group.get('issn').dirty"
35 33
            class="help-block inline"
......
55 53
  <form-inline [description]="countryDesc">
56 54
    <select formControlName="country" class="form-control">
57 55
      <option value="">-- none selected --</option>
58
      <option *ngFor="let country of countries" value="{{country.code}}">{{ country.name }}</option>
56
      <option *ngFor="let country of countries" value="{{country.code}}" title="{{country.name}}">{{ country.name }}</option>
59 57
    </select>
60 58
  </form-inline>
61 59
  <form-inline [description]="longtitudeDesc" [valid]="updateGroup.get('longtitude').valid">

Also available in: Unified diff