logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 931e66e57263f7dcc4e5ee0688a0384f42f17c73
parent: cdae7e4c8b24bfa6f5e7650887b142d7b1a56a7b
Author: Yamagishi Kazutoshi <ykzts@desire.sh>
Date:   Sat,  9 Dec 2017 22:19:07 +0900

Back to Web UI from tag page when signed in (#5943)


Diffstat:

Mapp/views/tags/show.html.haml7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml @@ -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