mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #32182 from nextcloud/backport/32139/stable23
[stable23] fix social sharing buttons
This commit is contained in:
commit
7e540b9a64
2 changed files with 7 additions and 3 deletions
|
|
@ -37,3 +37,7 @@
|
|||
.social-facebook {
|
||||
@include icon-color('social-facebook', 'federatedfilesharing', $color-black);
|
||||
}
|
||||
|
||||
.social_sharing_buttons {
|
||||
padding-left: 30px !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,15 +22,15 @@ style('federatedfilesharing', 'settings-personal');
|
|||
|
||||
<p>
|
||||
<?php p($l->t('Share it so your friends can share files with you:')); ?><br>
|
||||
<button class="social-facebook pop-up"
|
||||
<button class="social-facebook pop-up social_sharing_buttons"
|
||||
data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p(urlencode($_['reference'])); ?>'>
|
||||
Facebook
|
||||
</button>
|
||||
<button class="social-twitter pop-up"
|
||||
<button class="social-twitter pop-up social_sharing_buttons"
|
||||
data-url='https://twitter.com/intent/tweet?text=<?php p(urlencode($_['message_with_URL'])); ?>'>
|
||||
Twitter
|
||||
</button>
|
||||
<button class="social-diaspora pop-up"
|
||||
<button class="social-diaspora pop-up social_sharing_buttons"
|
||||
data-url='https://share.diasporafoundation.org/?title=<?php p($_['message_without_URL']); ?>&url=<?php p(urlencode($_['reference'])); ?>'>
|
||||
Diaspora
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue