0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Add placeholder to create shareable link

This commit is contained in:
alonso.torres 2021-11-08 16:15:43 +01:00 committed by Andrés Moya
parent 1bf1de8ce8
commit af10cf71db
4 changed files with 14 additions and 4 deletions

View file

@ -26,6 +26,7 @@
- Fix viewer comment position when zoom applied [Taiga #2240](https://tree.taiga.io/project/penpot/issue/2240)
- Remove change style on hover for options [Taiga #2172](https://tree.taiga.io/project/penpot/issue/2172)
- Fix problem in viewer with dropdowns when comments active [#1303](https://github.com/penpot/penpot/issues/1303)
- Add placeholder to create shareable link
### :arrow_up: Deps updates
### :heart: Community contributions by (Thank you!)

View file

@ -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}]
[: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]]
i/copy])]
[:div.hint (tr "common.share-link.permissions-hint")]]]

View file

@ -3232,3 +3232,5 @@ msgstr "X"
msgid "workspace.options.y"
msgstr "Y"
msgid "common.share-link.placeholder"
msgstr "Shareable link will appear here"

View file

@ -3228,3 +3228,6 @@ msgstr "X"
msgid "workspace.options.y"
msgstr "Y"
msgid "common.share-link.placeholder"
msgstr "El enlace para compartir aparecerá aquí"