diff options
| author | winter | 2025-04-05 20:03:03 +0100 |
|---|---|---|
| committer | winter | 2025-04-05 20:03:03 +0100 |
| commit | b55d33f26a2f40a787efcd82e6566ee5ac512c1c (patch) | |
| tree | 52d46cdc2be75ee6fe8a21c7f2319b39d0c45e95 /templates/note | |
| parent | 3578bc8620abcea7bd836d95a0d1949258457000 (diff) | |
remove the Share (web+pawpub) button
browsers don't support it anyway
Diffstat (limited to 'templates/note')
| -rw-r--r-- | templates/note/note.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/templates/note/note.php b/templates/note/note.php index fe28416..ddc2bac 100644 --- a/templates/note/note.php +++ b/templates/note/note.php @@ -126,17 +126,6 @@ if ($user != null) { <span><?= __('action.share') ?></span> </button> </li> - <li> - <button data-share-url="<?= htmlspecialchars(substr_replace($note->uri, 'web+pawpub', 0, 5)) ?>" _=" - on click - set url to my @data-share-url - js(url) - navigator.share({ url: url }) - end" type="button"> - <span class="material-symbols share-windows"></span> - <span><?= __('action.share.web+pawpub') ?></span> - </button> - </li> <?php if ($note->author->isLocal && ($note->author == $user?->actor || $user?->isAdmin) && !$note->hasPage()): ?> <li> <button hx-get="/fragment/note/<?= $note->id ?>/edit" hx-target="closest .note" hx-swap="outerHTML"> |
