Add "register" to nav.
Add "register" to nav.You need to click "login" to find register, which is not convenient for people who are not familiar with the app.
This commit is contained in:
		
							parent
							
								
									b7915cc7b0
								
							
						
					
					
						commit
						3c796b1ae7
					
				| 
						 | 
					@ -57,6 +57,9 @@
 | 
				
			||||||
                            @endif
 | 
					                            @endif
 | 
				
			||||||
                            @if(!signedInUser())
 | 
					                            @if(!signedInUser())
 | 
				
			||||||
                                <a href="{{ baseUrl('/login') }}">@icon('login') {{ trans('auth.log_in') }}</a>
 | 
					                                <a href="{{ baseUrl('/login') }}">@icon('login') {{ trans('auth.log_in') }}</a>
 | 
				
			||||||
 | 
												    @if(setting('registration-enabled', false))
 | 
				
			||||||
 | 
					                                    <a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
 | 
				
			||||||
 | 
					                                @endif
 | 
				
			||||||
                            @endif
 | 
					                            @endif
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                        @if(signedInUser())
 | 
					                        @if(signedInUser())
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue