mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
bugfix
This commit is contained in:
parent
32332983cf
commit
196205cce8
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,11 @@ Template.nav.events = {
|
|||
};
|
||||
|
||||
Template.nav.rendered=function(){
|
||||
$('.login-link-text').text("Sign Up/Sign In");
|
||||
if(!Meteor.user()){
|
||||
$('.login-link-text').text("Sign Up/Sign In");
|
||||
}else{
|
||||
$('#login-buttons-logout').before('<a href="/account" class="account-link button">My Account</a>');
|
||||
}
|
||||
};
|
||||
|
||||
Template.nav.helpers({
|
||||
|
|
Loading…
Add table
Reference in a new issue