Skip to content

Commit

Permalink
fix(Authoring): Allow moving lesson to become the first lesson (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan authored Apr 28, 2023
1 parent 1ce0124 commit 1753b8c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/assets/wise5/authoringTool/project/projectAuthoring.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<concurrent-authors-message
[authors]="$ctrl.authors"
class="center app-background"
style="position: sticky; top: 1px; padding: 4px 0; display: block; z-index: 3;"
style="position: sticky; top: 1px; padding: 4px 0; display: block; z-index: 3"
></concurrent-authors-message>
<style>
#commitDiv {
Expand Down Expand Up @@ -250,6 +250,18 @@ <h6 translate="chooseNewLocation"></h6>
</div>
</div>
<div style="margin-top: 20px; margin-left: 20px">
<div ng-if="$ctrl.insertGroupMode">
<md-button
class="insertButton md-raised md-primary"
style="height: 40px"
ng-click="$ctrl.insertInside('group0')"
>
<md-icon>keyboard_backspace</md-icon>
<md-tooltip md-direction="top" class="projectButtonTooltip"
>{{ ::'insertAsFirstActivity' | translate }}</md-tooltip
>
</md-button>
</div>
<div ng-repeat='item in $ctrl.items | toArray | orderBy : "order"'></div>
<div
ng-repeat='item in $ctrl.items | toArray | orderBy : "order"'
Expand Down
3 changes: 3 additions & 0 deletions src/assets/wise5/services/teacherProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export class TeacherProjectService extends ProjectService {
fontSet: 'material-icons',
fontName: 'info'
}
},
transitionLogic: {
transitions: []
}
},
{
Expand Down

0 comments on commit 1753b8c

Please sign in to comment.