Commit 2cfa4f24 authored by anton's avatar anton
Browse files

Put assets menu item below groups

parent 2f17cc3f
Pipeline #79585 passed with stage
in 18 seconds
......@@ -201,28 +201,6 @@
q-item-side(v-if="currentRoute === 'mosys.grids.create'")
q-btn.bg-primary.text-white(type="a", to="/mosys/grids", icon="clear", round, size="sm")
// ------------------------------------------------------------------------------------------------------ assets
q-item.q-pa-none.ui-border-bottom(v-if="user && showAssets", multiline)
q-item-main
q-item-tile
user-nav-button.text-white(
:route="{ name: 'users.assets' }",
:label="$t('navigation.users.assets')",
name="users.assets",
icon="insert_drive_file")
q-item.q-my-sm.lt-sm(v-if="currentApp === 'assets'")
q-item-main
user-nav-button.text-white.round-borders(
:route="'/users/assets/upload'",
:label="$t('navigation.users.assets_upload')",
:name="'users.assets_upload'",
:icon="'add'",
:disabled="currentRoute === 'users.assets_upload'",
:class="[currentRoute === 'users.assets_upload' ? 'bg-grey-9' : 'bg-primary']")
q-item-side(v-if="currentRoute === 'users.assets_upload'")
q-btn.bg-primary.text-white(type="a", :to="{ name: 'users.assets' }", icon="clear", round, size="sm")
// ------------------------------------------------------------------------------------------------------ groups
q-item.q-pa-none.ui-border-bottom(v-if="user && showGroups", multiline)
q-item-main
......@@ -257,6 +235,28 @@
q-item-side(v-if="currentRoute === 'users.groups_create'")
q-btn.bg-primary.text-white(type="a", to="/users/groups", icon="clear", round, size="sm")
// ------------------------------------------------------------------------------------------------------ assets
q-item.q-pa-none.ui-border-bottom(v-if="user && showAssets", multiline)
q-item-main
q-item-tile
user-nav-button.text-white(
:route="{ name: 'users.assets' }",
:label="$t('navigation.users.assets')",
name="users.assets",
icon="insert_drive_file")
q-item.q-my-sm.lt-sm(v-if="currentApp === 'assets'")
q-item-main
user-nav-button.text-white.round-borders(
:route="'/users/assets/upload'",
:label="$t('navigation.users.assets_upload')",
:name="'users.assets_upload'",
:icon="'add'",
:disabled="currentRoute === 'users.assets_upload'",
:class="[currentRoute === 'users.assets_upload' ? 'bg-grey-9' : 'bg-primary']")
q-item-side(v-if="currentRoute === 'users.assets_upload'")
q-btn.bg-primary.text-white(type="a", :to="{ name: 'users.assets' }", icon="clear", round, size="sm")
// -------------------------------------------------------------------------------------------- account settings
q-item.q-pa-none.ui-border-bottom(v-if="user", multiline, :class="{'active-app': currentApp === 'users'}")
q-item-main
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment