Updates browser profile selector help text (#1510)

This commit is contained in:
Henry Wilkinson 2024-02-07 18:05:28 -05:00 committed by GitHub
parent a898c2b456
commit 9c2228aa52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View File

@ -113,13 +113,22 @@ export class SelectBrowserProfile extends LiteElement {
>${this.selectedProfile.description}</em
>`
: ""}
<span>
${msg("Last edited:")}
<sl-format-date
date=${`${this.selectedProfile.created}Z` /** Z for UTC */}
month="2-digit"
day="2-digit"
year="2-digit"
></sl-format-date>
</span>
<a
href=${`${this.orgBasePath}/browser-profiles/profile/${this.selectedProfile.id}`}
class="font-medium text-primary hover:text-indigo-500"
target="_blank"
>
<span class="mr-1 inline-block align-middle"
>${msg("View profile")}</span
>${msg("Check profile")}</span
>
<sl-icon
class="inline-block align-middle"

View File

@ -1648,7 +1648,7 @@ https://archiveweb.page/images/${"logo.svg"}`}
`)}
${this.renderHelpTextCol(
msg(`Choose a custom profile to make use of saved cookies and logged-in
accounts.`),
accounts. Note that websites may log profiles out after a period of time.`),
)}
${this.renderFormCol(html`
<btrix-select-crawler