Skip to content

Commit

Permalink
fix: clarify section folder setting to be relative to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
srg-kostyrko committed Feb 19, 2024
1 parent 0a85b25 commit 98a5d70
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/settings/settings-calendar-section-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,16 @@ export class SettingsCalendarSectionPage extends SettingsWidget {
text: "New notes will be created in this folder.",
});
folder.descEl.createEl("br");
if (this.journal.rootFolder) {
folder.descEl.createEl("span", {
text: `It will be relative to the journals' root folder: `,
});
folder.descEl.createEl("b", {
text: this.journal.rootFolder,
cls: "u-pop",
});
folder.descEl.createEl("br");
}
this.createVariableReferenceHint(folder.descEl);

const template = new Setting(containerEl).setName("Template").addText((text) => {
Expand Down

0 comments on commit 98a5d70

Please sign in to comment.