Commit 98e06501 authored by Vitali Stupin's avatar Vitali Stupin
Browse files

Unsupported IE message

parent e6e6914e
<app-header></app-header>
<h3>{{'subsystemList.heading' | translate}}</h3>
<p [innerHTML]="'subsystemList.intro.p1' | translate"></p>
<p [innerHTML]="'subsystemList.intro.p2' | translate"></p>
<p [innerHTML]="'subsystemList.intro.p3' | translate"></p>
<p [innerHTML]="'subsystemList.intro.p4' | translate:{'jsonUrl': getApiUrl()}"></p>
<p [innerHTML]="'subsystemList.intro.p5' | translate"></p>
<div [innerHTML]="'subsystemList.intro' | translate:{'jsonUrl': getApiUrl()}"></div>
<p *ngIf="isIE()" [innerHTML]="'subsystemList.ieWarning' | translate" class="alert alert-danger mt-3 mb-0"></p>
<app-messages [message]="message"></app-messages>
......
......@@ -91,6 +91,13 @@ export class SubsystemListComponent implements OnInit, AfterViewInit, OnDestroy
this.search.setLimit('all');
}
isIE() {
if (window.navigator.userAgent.indexOf('MSIE ') > 0) {
return true;
}
return false;
}
ngOnInit() {
// Reset message on page load
this.message = '';
......
......@@ -7,14 +7,8 @@
},
"subsystemList": {
"heading": "Catalogue of all X-tee subsystems with methods and WSDL descriptions",
"intro": {
"p1": "This catalogue is generated by making meta-query 'getWsdl' and 'getOpenAPI' requests from RIA Monitoring Security Server to all X-tee subsystems.",
"p2": "Subsystems with the <span class=\"badge badge-secondary\">Empty</span> icon do not have X-tee services available.",
"p3": "Subsystems with the <span class=\"badge badge-danger\">Error</span> icon either could not be reached by RIA Monitoring Security Server or there was some other error during the request.",
"p4": "Latest version of catalogue in <a href=\"{{jsonUrl}}\" target=\"_blank\">JSON form</a>",
"p5": "Catalogue uses Angular web framework, checked with Google Chrome but might not work with MS Internet Explorer non-standard browsers.",
"p6": "Support: <a href=\"mailto:help@ria.ee\">help@ria.ee</a>"
},
"intro": "<p>This catalogue is generated by making meta-query 'getWsdl' and 'getOpenAPI' requests from RIA Monitoring Security Server to all X-tee subsystems.</p>\n<p>Subsystems with the <span class=\"badge badge-secondary\">Empty</span> icon do not have X-tee services available. Subsystems with the <span class=\"badge badge-danger\">Error</span> icon either could not be reached by RIA Monitoring Security Server or there was some other error during the request.</p>\n<p>Latest version of catalogue in <a href=\"{{jsonUrl}}\" target=\"_blank\">JSON form</a></p>\n<p>Support: <a href=\"mailto:help@ria.ee\">help@ria.ee</a>.</p>",
"ieWarning": "Catalogue does not work with MS Internet Explorer, please use a modern browser like Google Chrome instead.",
"moreSubsystems": "Some subsystems are not available in this view due to display limit. To see more subsystems change amount of subsystems to display or filter by subsystem or service name.",
"showAll": "Show all sybsystems",
"selectInstance": "Filter by X-tee instance",
......
......@@ -7,14 +7,8 @@
},
"subsystemList": {
"heading": "X-tee alamsüsteemide kataloog teenuste ja WSDL kirjeldustega",
"intro": {
"p1": "Kataloog on genereeritud metapäringute 'getWsdl' ja 'getOpenAPI' tulemustest RIA monitooringu turvaserveri poolt kõigist X-tee alamsüsteemidest.",
"p2": "Alamsüsteemid <span class=\"badge badge-secondary\">Tühi</span> ikooniga ei oma X-tee teenuseid.",
"p3": "Alamsüsteemid <span class=\"badge badge-danger\">Viga</span> ikooniga kas ei ole ligipääsetavad RIA monitooringu turvaserveri poolt või päringu tegemisel ilmnes muu viga.",
"p4": "Värskeim kataloogi versioon <a href=\"{{jsonUrl}}\" target=\"_blank\">JSON kujul</a>",
"p5": "Kataloog kasutab Angular veebiraamistikku, mis on kontrollitud koostöös Google Chromega, kuid ei pruugi toimida MS Internet Explorer mittestandardsete sirvikutega.",
"p6": "Kasutajatugi: <a href=\"mailto:help@ria.ee\">help@ria.ee</a>"
},
"intro": "<p>Kataloog on genereeritud metapäringute 'getWsdl' ja 'getOpenAPI' tulemustest RIA monitooringu turvaserveri poolt kõigist X-tee alamsüsteemidest.</p>\n<p>Alamsüsteemid <span class=\"badge badge-secondary\">Tühi</span> ikooniga ei oma X-tee teenuseid. Alamsüsteemid <span class=\"badge badge-danger\">Viga</span> ikooniga kas ei ole ligipääsetavad RIA monitooringu turvaserveri poolt või päringu tegemisel ilmnes muu viga.</p>\n<p>Värskeim kataloogi versioon <a href=\"{{jsonUrl}}\" target=\"_blank\">JSON kujul</a>.</p>\n<p>Kasutajatugi: <a href=\"mailto:help@ria.ee\">help@ria.ee</a>.</p>",
"ieWarning": "Kataloog ei toimi sirvikuga MS Internet Explorer, palun kasutage selle asemel kaasaegse sirviku nagu Google Chrome.",
"moreSubsystems": "Kõiki alamsüsteeme ei kuvatud seoses alamsüsteemide arvu piiranguga. Selleks, et näha rohkem alamsüsteeme, palun muutke määrangut 'Alamsüsteeme lehel' või otsige alamsüsteemi või teenuse nime järgi.",
"showAll": "Näita kõiki alamsüsteeme",
"selectInstance": "Vali X-tee keskkond",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment