Skip to content

Commit

Permalink
Merge pull request #487 from iShafayet/sprint-0.1.0
Browse files Browse the repository at this point in the history
Sprint 0.1.0
  • Loading branch information
iLGunners authored Nov 8, 2018
2 parents 7914760 + 167c204 commit f802b4c
Show file tree
Hide file tree
Showing 186 changed files with 12,413 additions and 4,040 deletions.
1,926 changes: 963 additions & 963 deletions admin-client/package-lock.json

Large diffs are not rendered by default.

278 changes: 217 additions & 61 deletions admin-client/src/page-manage-organization.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin-client/src/torque-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<a href="[[authorWebsite]]">[[authorName]]</a> All Rights Reserved.
<br>
<span class="extra-small">admin build
<span id="build-number">10</span>
<span id="build-number">15</span>
</span>
</div>
</app-header-layout>
Expand Down
2 changes: 1 addition & 1 deletion admin-client/src/torque-common-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

checkPrivilege(privilege) {
if (!(privilege in this.app.organization.employment.privileges)) {
throw new Error(`No such privilege ""${privilege}.`);
throw new Error(`No such privilege "${privilege}".`);
}
return this.app.organization.employment.privileges[privilege];
}
Expand Down
17 changes: 16 additions & 1 deletion admin-client/src/torque-http-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
this.callCombinedJsonApi('admin-set-outgoing-sms-status', data, cbfn);
}

callGetOrganizationApi(data, cbfn) {
callAdminGetOrganizationApi(data, cbfn) {
if (!this._applyApiKey(data)) return;
this.callCombinedJsonApi('admin-get-organization', data, cbfn);
}
Expand All @@ -157,6 +157,21 @@
this.callCombinedJsonApi('admin-assign-package-to-organization', data, cbfn);
}

callAdminGetModuleListApi(data, cbfn) {
if (!this._applyApiKey(data)) return;
this.callCombinedJsonApi('admin-get-module-list', data, cbfn);
}

callAdminListOrganizationModulesApi(data, cbfn) {
if (!this._applyApiKey(data)) return;
this.callCombinedJsonApi('admin-list-organization-modules', data, cbfn);
}

callAdminSetModuleActivationStatusApi(data, cbfn) {
if (!this._applyApiKey(data)) return;
this.callCombinedJsonApi('admin-set-module-activation-status', data, cbfn);
}

}
}

Expand Down
Binary file added client/images/icons/support.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f802b4c

Please sign in to comment.