Skip to content

Commit 532cd6e

Browse files
committed
SB-I212: Added fallback for overlay
1 parent 880f050 commit 532cd6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

player/public/coreplugins/org.ekstep.genie-1.0/renderer/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Plugin.extend({
88
app.compileProvider.directive("genie", ["$rootScope", function($rootScope) {
99
return {
1010
restrict: "E",
11-
template: '<div ng-class="enableGenie ? \'genie-home\' : \'icon-opacity genie-home\'" role="button" aria-label="{{AppLables.exit}}" tabindex="0" aria-disabled="true" ng-click="goToGenie()"><img ng-src="{{imageBasePath}}icn_home.png"/><span> {{AppLables.exit}} </span></div>',
11+
template: `<div ng-class="enableGenie ? \'genie-home\' : \'icon-opacity genie-home\'" role="button" aria-label='${AppLables.exit || "Exit"}' tabindex="0" aria-disabled="true" ng-click="goToGenie()"><img ng-src="{{imageBasePath}}icn_home.png"/><span> ${AppLables.exit || "Exit"}</span></div>`,
1212
link: function(scope) {
1313
scope.AppLables = AppLables
1414
scope.enableGenie = typeof cordova !== "undefined"

player/public/coreplugins/org.ekstep.overlay-1.0/renderer/controller/overlay.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

player/public/coreplugins/org.ekstep.overlay-1.0/renderer/templates/menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</div>
1717
<div class = "gc-menu-options" role="none">
1818
<div role="button" tabindex="0" aria-label="{{AppLables.replay}}" ng-click="replayContent()">
19-
<img ng-src="{{imageBasePath}}icn_replay.png"/><span> {{AppLables.replay}} </span>
19+
<img ng-src="{{imageBasePath}}icn_replay.png"/><span> {{AppLables.replay || "Replay"}} </span>
2020
</div>
2121
</div>
2222
<div ng-if="showUser" role="button" aria-label="{{currentUser.handle}} {{AppLables.change}}" ng-click="openUserSwitchingModal()" class = "gc-menu-options profile" tabindex="0">

0 commit comments

Comments
 (0)