aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--static/icons.css3
-rw-r--r--templates/note/note.php11
2 files changed, 0 insertions, 14 deletions
diff --git a/static/icons.css b/static/icons.css
index 6799f54..3cd60be 100644
--- a/static/icons.css
+++ b/static/icons.css
@@ -135,7 +135,4 @@
&.sync {
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 20v-2h2.75l-.4-.35q-1.225-1.225-1.787-2.662T4 12.05q0-2.775 1.663-4.937T10 4.25v2.1Q8.2 7 7.1 8.563T6 12.05q0 1.125.425 2.188T7.75 16.2l.25.25V14h2v6zm10-.25v-2.1q1.8-.65 2.9-2.212T18 11.95q0-1.125-.425-2.187T16.25 7.8L16 7.55V10h-2V4h6v2h-2.75l.4.35q1.225 1.225 1.788 2.663T20 11.95q0 2.775-1.662 4.938T14 19.75'/%3E%3C/svg%3E");
}
- &.share-windows {
- --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 15V9q0-.825.588-1.412T9 7h8.15l-2.575-2.575L16 3l5 5l-5 5l-1.425-1.4L17.15 9H9v6zm-2 6q-.825 0-1.412-.587T3 19V4h2v15h12v-4h2v4q0 .825-.587 1.413T17 21z'/%3E%3C/svg%3E");
- }
}
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">