client: mark some links to use the new style

This commit is contained in:
Adorian Doran 2025-02-03 16:52:15 +02:00
parent 9a84dec222
commit 8a51f05bf4

View File

@ -26,7 +26,7 @@ const TPL = `
} }
</style> </style>
<div class="links-wrapper"></div> <div class="links-wrapper use-tn-links"></div>
<div class="attachment-wrapper"></div> <div class="attachment-wrapper"></div>
</div>`; </div>`;
@ -57,7 +57,7 @@ export default class AttachmentDetailTypeWidget extends TypeWidget {
this.$linksWrapper.empty().append( this.$linksWrapper.empty().append(
t("attachment_detail.owning_note"), t("attachment_detail.owning_note"),
await linkService.createLink(this.noteId), (await linkService.createLink(this.noteId)),
t("attachment_detail.you_can_also_open"), t("attachment_detail.you_can_also_open"),
await linkService.createLink(this.noteId, { await linkService.createLink(this.noteId, {
title: t("attachment_detail.list_of_all_attachments"), title: t("attachment_detail.list_of_all_attachments"),