Revision 54936
Added by Myrto Koukouli about 5 years ago
modules/uoa-repository-dashboard-gui/trunk/src/app/pages/sources/sources-register/register-datasource-select-existing.component.html | ||
---|---|---|
10 | 10 |
<i class="fas fa-external-link-alt" style="margin-right:3px;"></i>{{ sourceTitle }} |
11 | 11 |
</a> |
12 | 12 |
. <br> |
13 |
<span *ngIf="latestUpdate && (latestUpdate !== null)">
|
|
13 |
<span *ngIf="latestUpdate && (latestUpdate !== 'null')">
|
|
14 | 14 |
<b>Last Updated: </b>{{ latestUpdate }} |
15 | 15 |
</span> |
16 | 16 |
</div> |
modules/uoa-repository-dashboard-gui/trunk/src/app/pages/sources/sources-register/register-new-datasource.component.ts | ||
---|---|---|
8 | 8 |
import { DatasourceNewInterfaceFormComponent } from '../sources-forms/datasource-new-interface-form.component'; |
9 | 9 |
import { from, of } from 'rxjs'; |
10 | 10 |
import { concatMap } from 'rxjs/operators'; |
11 |
import { noInterfacesSaved } from '../../../domain/shared-messages'; |
|
11 |
import { formErrorRegisterRepo, noInterfacesSaved } from '../../../domain/shared-messages';
|
|
12 | 12 |
|
13 | 13 |
@Component({ |
14 | 14 |
selector: 'app-register-new-datasource', |
... | ... | |
190 | 190 |
error => { |
191 | 191 |
console.log(error); |
192 | 192 |
this.loadingMessage = ''; |
193 |
this.errorMessage = 'The changes could not be saved';
|
|
193 |
this.errorMessage = formErrorRegisterRepo;
|
|
194 | 194 |
}, |
195 | 195 |
() => { |
196 | 196 |
this.saveNewInterfaces(); |
modules/uoa-repository-dashboard-gui/trunk/src/app/pages/sources/sources-register/register-existing-datasource.component.ts | ||
---|---|---|
12 | 12 |
import { from, of } from 'rxjs'; |
13 | 13 |
import { concatMap } from 'rxjs/operators'; |
14 | 14 |
import { |
15 |
formErrorRegisterRepo, |
|
15 | 16 |
formInfoLoading, formInterfacesLoading, loadingInterfacesError, loadingRepoError, |
16 | 17 |
noInterfacesSaved |
17 | 18 |
} from '../../../domain/shared-messages'; |
... | ... | |
281 | 282 |
// error => { |
282 | 283 |
// console.log(error); |
283 | 284 |
// this.loadingMessage = ''; |
284 |
// this.errorMessage = 'The changes could not be saved';
|
|
285 |
// this.errorMessage = formErrorRegisterRepo;
|
|
285 | 286 |
// }, |
286 | 287 |
// () => { |
287 | 288 |
// this.saveNewInterfaces(); |
... | ... | |
302 | 303 |
error => { |
303 | 304 |
console.log(error); |
304 | 305 |
this.loadingMessage = ''; |
305 |
this.errorMessage = 'The changes could not be saved';
|
|
306 |
this.errorMessage = formErrorRegisterRepo;
|
|
306 | 307 |
}, |
307 | 308 |
() => { |
308 | 309 |
this.saveNewInterfaces(); |
modules/uoa-repository-dashboard-gui/trunk/src/app/pages/compatibility/compatibility-validation-history.component.html | ||
---|---|---|
150 | 150 |
</div> |
151 | 151 |
</td> |
152 | 152 |
<td class="uk-table-shrink" style="vertical-align: top !important;"> |
153 |
<input type="image" src="{{ getResultImage(job.validationStatus) }}" title="{{job.validationStatus}}" width="20" height="20">
|
|
153 |
<img type="image" [src]="getResultImage(job.validationStatus)" title="{{job.validationStatus}}">
|
|
154 | 154 |
</td> |
155 | 155 |
</tr> |
156 | 156 |
</tbody> |
modules/uoa-repository-dashboard-gui/trunk/src/app/domain/shared-messages.ts | ||
---|---|---|
81 | 81 |
export const formErrorRequiredFields = 'All the fields marked with (*) are mandatory'; |
82 | 82 |
export const formErrorInvalidFields = 'There are invalid fields'; |
83 | 83 |
export const formErrorWasntSaved = 'The form could not be submitted'; |
84 |
let errorRegisterRepo = 'Due to an error, the registration can\'t be finished. '; |
|
85 |
errorRegisterRepo = errorRegisterRepo + 'Please contact "helpdesk@openaire.eu" for support. '; |
|
86 |
errorRegisterRepo = errorRegisterRepo + 'We\'re sorry for the inconvenience.'; |
|
87 |
export const formErrorRegisterRepo = errorRegisterRepo; |
|
84 | 88 |
export const formSuccessUpdatedRepo = 'The datasource was updated successfully.'; |
85 | 89 |
export const formSuccessRegisteredDatasource = 'The datasource was registered successfully'; |
86 | 90 |
export const formSuccessAddedInterface = 'The interface was added successfully.'; |
Also available in: Unified diff
fixed icons problem in compatibility history