Skip to content
Snippets Groups Projects
Commit 779c9077 authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Username is only lightly shown

When creating the issue for this branch i was under the assumption that the students name (or pseudoanonymised name) was broadly displayed on the landing page when logging in. But that has apparently been removed in an earlier commit already.
parent 72d1724a
No related branches found
Tags 2.2.0
1 merge request!169Username is only lightly shown
Pipeline #100763 failed
...@@ -70,12 +70,15 @@ ...@@ -70,12 +70,15 @@
<v-spacer/> <v-spacer/>
<slot name="toolbar-center"/> <slot name="toolbar-center"/>
<div class="toolbar-content"> <div class="toolbar-content">
<v-menu bottom offset-y> <v-menu bottom offset-y v-if="!isStudent">
<v-btn slot="activator" color="cyan" style="text-transform: none"> <v-btn slot="activator" color="cyan" style="text-transform: none">
{{ userRole }} | {{ username }} <v-icon>arrow_drop_down</v-icon> {{ userRole }} | {{ username }} <v-icon>arrow_drop_down</v-icon>
</v-btn> </v-btn>
<user-options class="mt-1" v-if="!isStudent"/> <user-options class="mt-1" v-if="!isStudent"/>
</v-menu> </v-menu>
<span v-else style="color:#595959">
{{username}}
</span>
</div> </div>
<slot name="toolbar-right"></slot> <slot name="toolbar-right"></slot>
<v-btn color="blue darken-1" id="logout" @click.native="logout">Logout</v-btn> <v-btn color="blue darken-1" id="logout" @click.native="logout">Logout</v-btn>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment