Skip to content

Commit

Permalink
Back to Web UI from tag page when signed in (#5943)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored and Gargron committed Dec 9, 2017
1 parent cdae7e4 commit 931e66e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/tags/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
%p= t 'about.about_hashtag_html', hashtag: @tag.name

.cta
= link_to t('auth.login'), new_user_session_path, class: 'button button-secondary'
= link_to t('about.learn_more'), root_url, class: 'button button-alternative'
- if user_signed_in?
= 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__row
Expand Down

0 comments on commit 931e66e

Please sign in to comment.