mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 03:46:10 +02:00
🐛 Add placeholder to create shareable link
This commit is contained in:
parent
1bf1de8ce8
commit
af10cf71db
4 changed files with 14 additions and 4 deletions
|
@ -127,10 +127,14 @@
|
|||
[:div.share-link-section
|
||||
[:label (tr "labels.link")]
|
||||
[:div.custom-input.with-icon
|
||||
[:input {:type "text" :value (or @link "") :read-only true}]
|
||||
[:div.help-icon {:title (tr "labels.copy")
|
||||
:on-click copy-link}
|
||||
i/copy]]
|
||||
[:input {:type "text"
|
||||
:value (or @link "")
|
||||
:placeholder (tr "common.share-link.placeholder")
|
||||
:read-only true}]
|
||||
(when (some? @link)
|
||||
[:div.help-icon {:title (tr "labels.copy")
|
||||
:on-click copy-link}
|
||||
i/copy])]
|
||||
|
||||
[:div.hint (tr "common.share-link.permissions-hint")]]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue