Skip to content

Commit

Permalink
ucfopen#46 Added toggle for 'restrict_publish' to widget admin panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
FrenjaminBanklin committed Mar 1, 2019
1 parent 1f9e022 commit cc11ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/js/controllers/ctrl-admin-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ app.controller('adminWidgetController', function($scope, Please, adminSrv) {
is_editable: widget.is_editable,
is_scorable: widget.is_scorable,
is_playable: widget.is_playable,
restrict_publish: widget.restrict_publish,
about: widget.meta_data.about,
excerpt: widget.meta_data.excerpt,
demo: widget.meta_data.demo
Expand Down
1 change: 1 addition & 0 deletions src/js/controllers/ctrl-admin-widget.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ describe('adminWidgetController', () => {
is_editable: 'f',
is_scorable: 'f',
is_playable: 'f',
restrict_publish: 'f',
meta_data: {
about: 'f',
excerpt: 'f',
Expand Down

0 comments on commit cc11ed0

Please sign in to comment.