Verified Commit fc3730e5 authored by Georg Krause's avatar Georg Krause
Browse files

Do not show registration form for logged in users

parent 10a611bf
......@@ -29,7 +29,7 @@
<div class="ui vertically fitted basic stripe segment">
<div class="ui two stackable cards">
<div class="ui card">
<div class="signup-form content">
<div class="signup-form content" v-if="!$store.state.auth.authenticated">
<h3 class="header">
<translate translate-context="*/Signup/Title">Sign up</translate>
......@@ -51,6 +51,14 @@
<div class="signup-form content" v-else>
<div class="ui positive message">
<div class="header">
<translate translate-context="Content/About/Message">You're already signed in!</translate>
<p><translate translate-contect="Content/About/Hello">Hello</translate> {{ $store.state.auth.username }}</p>
<div class="ui card">
<section :class="['ui', 'head', {'with-background': banner}, 'vertical', 'center', 'aligned', 'stripe', 'segment']" :style="headerStyle">
Supports Markdown
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