diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-16 01:29:02 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-16 01:29:02 -0500 |
commit | 6cd5b3bbe5a11fcf25bbefba2803f2ae840f39fc (patch) | |
tree | 4bb60f4493fb70cada728a373f74c18b87e8f95d /app/views | |
parent | f72ad67a3967230afd63a9e2d84a2a69331c4787 (diff) | |
parent | 894da3dcca781e27ce9c5130f1021526ac8a6887 (diff) |
Merge remote-tracking branch 'origin/master' into gs-master
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/custom_emojis/_custom_emoji.html.haml | 2 | ||||
-rw-r--r-- | app/views/tags/show.html.haml | 28 |
2 files changed, 21 insertions, 9 deletions
diff --git a/app/views/admin/custom_emojis/_custom_emoji.html.haml b/app/views/admin/custom_emojis/_custom_emoji.html.haml index 53263c43f..1fa64908c 100644 --- a/app/views/admin/custom_emojis/_custom_emoji.html.haml +++ b/app/views/admin/custom_emojis/_custom_emoji.html.haml @@ -10,7 +10,7 @@ = custom_emoji.domain %td - unless custom_emoji.local? - = table_link_to 'copy', t('admin.custom_emojis.copy'), copy_admin_custom_emoji_path(custom_emoji), method: :post + = table_link_to 'copy', t('admin.custom_emojis.copy'), copy_admin_custom_emoji_path(custom_emoji, page: params[:page]), method: :post %td - if custom_emoji.disabled? = table_link_to 'power-off', t('admin.custom_emojis.enable'), enable_admin_custom_emoji_path(custom_emoji), method: :post, data: { confirm: t('admin.accounts.are_you_sure') } diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index 6266d3c0c..ea8b0faa3 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -7,31 +7,43 @@ = render 'og' .landing-page.tag-page - .stripe .features .container #mastodon-timeline{ data: { props: Oj.dump(default_props.merge(hashtag: @tag.name)) } } .about-mastodon - .brand - = link_to root_url do - = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon' + .about-hashtag + .brand + = link_to root_url do + = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon' - %p= t 'about.about_hashtag_html', hashtag: @tag.name + %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' + .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' .features-list .features-list__row .text + %h6= t 'about.features.real_conversation_title' + = t 'about.features.real_conversation_body' + .visual + = fa_icon 'fw comments' + .features-list__row + .text %h6= t 'about.features.not_a_product_title' = t 'about.features.not_a_product_body' .visual = fa_icon 'fw users' .features-list__row .text + %h6= t 'about.features.within_reach_title' + = t 'about.features.within_reach_body' + .visual + = fa_icon 'fw mobile' + .features-list__row + .text %h6= t 'about.features.humane_approach_title' = t 'about.features.humane_approach_body' .visual |