-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added browser check and show message if non-supported-browser
- Loading branch information
Benjamin Klaus
committed
Apr 27, 2017
1 parent
fdba22c
commit 8bea136
Showing
3 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 21 additions & 5 deletions
26
custom/bin/ARE/data/webservice/angular/global/component/mainMenu.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
<div ui-view=""> | ||
<asterics-message message-code="i18n_disclaimer" message-level="error"/> | ||
<h2 translate="i18n_available_apps"/> | ||
<span translate="i18n_click_on_app"/> | ||
<div class="row"> | ||
<cell-board choose-items="$ctrl.cellBoardConfig"/> | ||
<div ng-if="$ctrl.isNonSupportedBrowser()"> | ||
<asterics-message transclude="true" message-level="error"> | ||
<p><b>Ihr aktueller Browser wird von AsTeRICS-Ergo nicht unterstützt!</b></p> | ||
<p>Bitte laden Sie einen der folgenden Browser herunter und starten Sie AsTeRICS-Ergo mit diesem:</p> | ||
<ul> | ||
<li> | ||
<a target="_blank" href="https://www.mozilla.org/de/firefox/new/">Zum Download von Firefox</a> | ||
</li> | ||
<li> | ||
<a target="_blank" href="https://www.google.com/chrome/browser/desktop/">Zum Download von Chrome</a> | ||
</li> | ||
</ul> | ||
</asterics-message> | ||
</div> | ||
<div ng-if="!$ctrl.isNonSupportedBrowser()"> | ||
<asterics-message message-code="i18n_disclaimer" message-level="error"/> | ||
<h2 translate="i18n_available_apps"/> | ||
<span translate="i18n_click_on_app"/> | ||
<div class="row"> | ||
<cell-board choose-items="$ctrl.cellBoardConfig"/> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters