mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 22:19:32 +00:00
Add "Edit profile" link to public profile page, increase bottom padding (#7754)
This commit is contained in:
parent
0c3ce41031
commit
9b9e96eae5
|
@ -1,6 +1,7 @@
|
|||
.footer {
|
||||
text-align: center;
|
||||
margin-top: 30px;
|
||||
padding-bottom: 60px;
|
||||
font-size: 12px;
|
||||
color: $darker-text-color;
|
||||
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
= link_to (account.local? ? account_follow_path(account) : authorize_follow_path(acct: account.acct)), data: { method: :post }, class: 'icon-button' do
|
||||
= fa_icon 'user-plus'
|
||||
= t('accounts.follow')
|
||||
- elsif user_signed_in? && current_account.id == account.id
|
||||
.controls
|
||||
= link_to settings_profile_url, class: 'icon-button' do
|
||||
= fa_icon 'pencil'
|
||||
= t('settings.edit_profile')
|
||||
- elsif !user_signed_in?
|
||||
.controls
|
||||
.remote-follow
|
||||
|
|
Loading…
Reference in a new issue