<commit_before><template>

  <core-base :topLevelPageName="topLevelPageName">

    <div v-if="isAdminOrSuperuser" slot="content">
      <div class="manage-content">
        <top-nav/>
      </div>
      <component
        v-if="isAdminOrSuperuser"
        class="manage-content page"
        :is="currentPage"
      />
    </div>

    <div v-else slot="content" class="login-message">
      <h1>{{ $tr('logInPrompt') }}</h1>
      <p>{{ $tr('logInCommand') }}</p>
    </div>

  </core-base>

</template>


<script>

  const store = require('../state/store');
  const PageNames = require('../state/constants').PageNames;
  const isAdminOrSuperuser = require('kolibri.coreVue.vuex.getters').isAdminOrSuperuser;
  const TopLevelPageNames = require('kolibri.coreVue.vuex.constants').TopLevelPageNames;

  module.exports = {
    $trNameSpace: 'management-root',
    $trs: {
      logInPrompt: 'Did you forget to log in?',
      logInCommand: 'You must be logged in as an Admin to view this page.',
    },<commit_msg>remove redundant v-if<commit_after><template>

  <core-base :topLevelPageName="topLevelPageName">

    <div v-if="isAdminOrSuperuser" slot="content">
      <div class="manage-content">
        <top-nav/>
      </div>
      <component class="manage-content page" :is="currentPage"/>
    </div>

    <div v-else slot="content" class="login-message">
      <h1>{{ $tr('logInPrompt') }}</h1>
      <p>{{ $tr('logInCommand') }}</p>
    </div>

  </core-base>

</template>


<script>

  const store = require('../state/store');
  const PageNames = require('../state/constants').PageNames;
  const isAdminOrSuperuser = require('kolibri.coreVue.vuex.getters').isAdminOrSuperuser;
  const TopLevelPageNames = require('kolibri.coreVue.vuex.constants').TopLevelPageNames;

  module.exports = {
    $trNameSpace: 'management-root',
    $trs: {
      logInPrompt: 'Did you forget to log in?',
      logInCommand: 'You must be logged in as an Admin to view this page.',
    },
{'fraction_non_alphanumeric': 0.16776482513938165, 'fraction_numerical': 0.0020273694880892043, 'mean_word_length': 3.3194748358862145, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7552698', 'n_tokens_mistral': 678, 'n_tokens_neox': 661, 'n_words': 133}