Skip to content

Commit

Permalink
Learning activity bar test
Browse files Browse the repository at this point in the history
  • Loading branch information
MisRob committed Jun 17, 2021
1 parent 3651e77 commit 1e9a411
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions kolibri/core/assets/src/views/CoreBase/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,25 @@
:isHidden.sync="headerIsHidden"
:skipNextUpdate.sync="headerSkipNextUpdate"
>
<ImmersiveToolbar
<LearningActivityBar
resourceTitle="Practice and applications of math"
learningActivityKind="WATCH"
:isLessonContext="true"
:isBookmarked="true"
:allowMarkComplete="false"
/>

<!-- <ImmersiveToolbar
v-if="immersivePage && !fullScreen"
:appBarTitle="toolbarTitle || appBarTitle"
:icon="immersivePageIcon"
:route="immersivePageRoute"
:isFullscreen="!immersivePagePrimary"
:height="headerHeight"
@nav-icon-click="$emit('navIconClick')"
/>
/> -->
<AppBar
v-else-if="!immersivePage && !fullScreen"
v-if="!immersivePage && !fullScreen"
ref="appBar"
class="app-bar"
:title="toolbarTitle || appBarTitle"
Expand Down Expand Up @@ -141,6 +149,7 @@
import UpdateNotification from '../UpdateNotification';
import LanguageSwitcherModal from '../language-switcher/LanguageSwitcherModal';
import CoreBanner from '../CoreBanner';
import LearningActivityBar from '../../../../../plugins/learn/assets/src/views/LearningActivityBar';
import ScrollingHeader from './ScrollingHeader';
const scrollPositions = {
Expand Down Expand Up @@ -194,6 +203,7 @@
ScrollingHeader,
UpdateNotification,
LanguageSwitcherModal,
LearningActivityBar,
},
mixins: [responsiveWindowMixin, commonCoreStrings],
props: {
Expand Down

0 comments on commit 1e9a411

Please sign in to comment.