Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 9b9e96ea rédigé par Eugen Rochko's avatar Eugen Rochko Validation de GitHub
Parcourir les fichiers

Add "Edit profile" link to public profile page, increase bottom padding (#7754)

parent 0c3ce410
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
.footer { .footer {
text-align: center; text-align: center;
margin-top: 30px; margin-top: 30px;
padding-bottom: 60px;
font-size: 12px; font-size: 12px;
color: $darker-text-color; color: $darker-text-color;
......
...@@ -15,6 +15,11 @@ ...@@ -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 = 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' = fa_icon 'user-plus'
= t('accounts.follow') = 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? - elsif !user_signed_in?
.controls .controls
.remote-follow .remote-follow
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter