Skip to content

Commit

Permalink
Merge branch 'release-5.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokiterashima committed Mar 29, 2018
2 parents 4c84ca3 + 418f259 commit 85b8175
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wise",
"version": "5.7.1",
"version": "5.7.2",
"description": "Web-based Inquiry Science Environment",
"main": "app.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<artifactId>wise</artifactId>
<packaging>war</packaging>
<name>Web-based Inquiry Science Environment</name>
<version>5.7.1</version>
<version>5.7.2</version>
<url>http://wise5.org</url>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.7.1
5.7.2
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
class TopBarController {
constructor(
$rootScope,
$window,
ConfigService,
ProjectService,
TeacherDataService) {
this.$rootScope = $rootScope;
this.$window = $window;
this.ConfigService = ConfigService;
this.ProjectService = ProjectService;
this.TeacherDataService = TeacherDataService;
Expand All @@ -32,6 +34,13 @@ class TopBarController {
this.themePath = this.ProjectService.getThemePath();
}

/**
* Open the Authoring Tool FAQ Google document in a new tab.
*/
helpButtonClicked() {
this.$window.open('https://docs.google.com/document/d/1G8lVtiUlGXLRAyFOvkEdadHYhJhJLW4aor9dol2VzeU', '_blank');
}

/**
* Navigate the teacher to the teacher home page
*/
Expand All @@ -51,6 +60,7 @@ class TopBarController {

TopBarController.$inject = [
'$rootScope',
'$window',
'ConfigService',
'ProjectService',
'TeacherDataService'
Expand Down Expand Up @@ -80,6 +90,8 @@ const TopBar = {
</span>
</h3>
<span flex></span>
<md-button style="text-transform: none;"
ng-click="$ctrl.helpButtonClicked()">{{ 'HELP' | translate }}</md-button>
<md-menu id='accountMenu' md-position-mode="target-right target" md-offset="8 26">
<md-button aria-label="{{ 'USER_MENU' | translate }}" class="md-icon-button" ng-click="$mdMenu.open($event)">
<md-icon md-menu-origin> account_box </md-icon>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main/webapp/wise5/i18n/i18n_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"HAS_ALERTS_NEW": "Has new alert(s)",
"HAS_ALERTS_DISMISSED": "Has dismissed alert(s)",
"HEIGHT": "Height",
"HELP": "Help",
"HIDE_ADVANCED_AUTHORING": "Hide Advanced Authoring",
"ID": "ID",
"IMPORT_PREVIOUS_WORK": "Import Previous Work",
Expand Down

0 comments on commit 85b8175

Please sign in to comment.