Add signup button for unknown users

This commit is contained in:
2019-07-18 19:43:39 +02:00
parent 0a71d7ad91
commit 725d36bed6
5 changed files with 20 additions and 2 deletions
@@ -6,5 +6,14 @@ export default Component.extend({
tagName: '',
kredits: service(),
router: service(),
actions: {
signup() {
this.router.transitionTo('signup');
}
}
});
@@ -6,5 +6,6 @@
{{/if}}
{{else}}
Anonymous
<button {{action "signup"}} class="small green">Sign up</button>
{{/if}}
</section>
+1
View File
@@ -106,4 +106,5 @@ section {
@import "components/loading-spinner";
@import "components/proposal-list";
@import "components/topbar";
@import "components/topbar-account-panel";
@import "components/user-avatar";
@@ -0,0 +1,7 @@
header#topbar section#user-account {
button {
margin-left: 1.2rem;
}
}