Back to Web UI from tag page when signed in (#5943)
This commit is contained in:
		
							parent
							
								
									cdae7e4c8b
								
							
						
					
					
						commit
						931e66e572
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -20,8 +20,11 @@
 | 
				
			||||||
          %p= t 'about.about_hashtag_html', hashtag: @tag.name
 | 
					          %p= t 'about.about_hashtag_html', hashtag: @tag.name
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          .cta
 | 
					          .cta
 | 
				
			||||||
            = link_to t('auth.login'), new_user_session_path, class: 'button button-secondary'
 | 
					            - if user_signed_in?
 | 
				
			||||||
            = link_to t('about.learn_more'), root_url, class: 'button button-alternative'
 | 
					              = link_to t('settings.back'), root_path, class: 'button button-secondary'
 | 
				
			||||||
 | 
					            - else
 | 
				
			||||||
 | 
					              = link_to t('auth.login'), new_user_session_path, class: 'button button-secondary'
 | 
				
			||||||
 | 
					            = link_to t('about.learn_more'), about_path, class: 'button button-alternative'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .features-list
 | 
					        .features-list
 | 
				
			||||||
          .features-list__row
 | 
					          .features-list__row
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue