Skip to content
Snippets Groups Projects

Username is only lightly shown

Merged robinwilliam.hundt requested to merge 172-remove-name-from-student-landing-page-2 into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
  • 779c9077
    Username is only lightly shown · 779c9077
    robinwilliam.hundt authored
    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.
@@ -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>
Loading