🐛 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

@ -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")]]]