Skip to content

Build your personal knowledge base with Trilium Notes

client: mark the links that should use the new style

Adorian Doranb43c85157bc3
diff --git a/src/public/app/widgets/ribbon_widgets/note_paths.js b/src/public/app/widgets/ribbon_widgets/note_paths.js
index cabf4f39d4..a537303f96 100644
--- a/src/public/app/widgets/ribbon_widgets/note_paths.js
+++ b/src/public/app/widgets/ribbon_widgets/note_paths.js
@@ -11,28 +11,28 @@ const TPL = `
max-height: 300px;
overflow-y: auto;
}
-
+
.note-path-list {
margin-top: 10px;
}
-
+
.note-path-list .path-current {
font-weight: bold;
}
-
+
.note-path-list .path-archived {
color: var(--muted-text-color) !important;
}
-
+
.note-path-list .path-search {
font-style: italic;
}
</style>
-
+
<div class="note-path-intro"></div>
-
+
<ul class="note-path-list"></ul>
-
+
<button class="btn btn-sm" data-trigger-command="cloneNoteIdsTo">${t("note_paths.clone_button")}</button>
</div>`;
@@ -95,7 +95,7 @@ export default class NotePathsWidget extends NoteContextAwareWidget {
const $noteLink = await linkService.createLink(notePath, { title });
- $noteLink.find("a").addClass("no-tooltip-preview");
+ $noteLink.find("a").addClass("no-tooltip-preview tn-link");
const icons = [];
diff --git a/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.ts b/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.ts
index 11071e0183..751f70653f 100644
--- a/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.ts
+++ b/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.ts
@@ -6,7 +6,7 @@ const TPL = `
<div class="options-section">
<h4>${t("revisions_snapshot_interval.note_revisions_snapshot_interval_title")}</h4>
- <p>${t("revisions_snapshot_interval.note_revisions_snapshot_description")}</p>
+ <p class="use-tn-links">${t("revisions_snapshot_interval.note_revisions_snapshot_description")}</p>
<div class="form-group">
<label>${t("revisions_snapshot_interval.snapshot_time_interval_label")}</label>