diff options
author | ThibG <thib@sitedethib.com> | 2019-06-10 23:01:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 23:01:56 +0200 |
commit | c64eef12069c3476f9956dfaaf6a3a9f91c14e2d (patch) | |
tree | c8048db1bc718663c5ed33c8b225544d5e37f98b /app/helpers | |
parent | b45f555a0c7a7d50ed7640b938eb8b5a671a0e10 (diff) | |
parent | 7778de467cd35fa4a514dd97ced0d19675f3b9d9 (diff) |
Merge pull request #1102 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/stream_entries_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb index e59c39655..6a71f1c02 100644 --- a/app/helpers/stream_entries_helper.rb +++ b/app/helpers/stream_entries_helper.rb @@ -38,6 +38,10 @@ module StreamEntriesHelper content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo'), 'viewBox' => '0 0 216.4144 232.00976') end + def svg_logo_full + content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo-full'), 'viewBox' => '0 0 713.35878 175.8678') + end + def account_badge(account, all: false) if account.bot? content_tag(:div, content_tag(:div, t('accounts.roles.bot'), class: 'account-role bot'), class: 'roles') |