mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Merge ea9a803366
into 3890e12c9e
This commit is contained in:
commit
65dc9baa1b
4 changed files with 7 additions and 7 deletions
|
@ -243,6 +243,7 @@ Lee Doughty <32392044+leedoughty@users.noreply.github.com>
|
||||||
memchr <memchr@proton.me>
|
memchr <memchr@proton.me>
|
||||||
Max Romanowski <maxr777@proton.me>
|
Max Romanowski <maxr777@proton.me>
|
||||||
Aldlss <ayaldlss@gmail.com>
|
Aldlss <ayaldlss@gmail.com>
|
||||||
|
Hanna Nilsén <hanni614@student.liu.se>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
export let title: string;
|
export let title: string;
|
||||||
export let url: string;
|
export let url: string;
|
||||||
|
export let linkLabel: string | undefined = undefined;
|
||||||
export let startIndex = 0;
|
export let startIndex = 0;
|
||||||
export let helpSections: HelpItem[];
|
export let helpSections: HelpItem[];
|
||||||
export let fsrs = false;
|
export let fsrs = false;
|
||||||
|
@ -106,11 +107,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
<div class="chapter-redirect">
|
<div class="chapter-redirect">
|
||||||
{@html renderMarkdown(
|
{@html renderMarkdown(
|
||||||
tr.helpForMoreInfo({
|
tr.helpForMoreInfo({
|
||||||
link: `<a href="${url}" title="${tr.helpOpenManualChapter(
|
link: `<a href="${url}" title="${tr.helpOpenManualChapter({ name: linkLabel ?? title })}">${linkLabel ?? title}</a>`,
|
||||||
{
|
|
||||||
name: title,
|
|
||||||
},
|
|
||||||
)}">${title}</a>`,
|
|
||||||
}),
|
}),
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -27,7 +27,8 @@ export const HelpPage = {
|
||||||
limitsFromTop: "https://docs.ankiweb.net/deck-options.html#limits-start-from-top",
|
limitsFromTop: "https://docs.ankiweb.net/deck-options.html#limits-start-from-top",
|
||||||
dailyLimits: "https://docs.ankiweb.net/deck-options.html#daily-limits",
|
dailyLimits: "https://docs.ankiweb.net/deck-options.html#daily-limits",
|
||||||
audio: "https://docs.ankiweb.net/deck-options.html#audio",
|
audio: "https://docs.ankiweb.net/deck-options.html#audio",
|
||||||
fsrs: "http://docs.ankiweb.net/deck-options.html#fsrs",
|
fsrs: "https://docs.ankiweb.net/deck-options.html#fsrs",
|
||||||
|
desiredRetention: "https://docs.ankiweb.net/deck-options.html#desired-retention",
|
||||||
},
|
},
|
||||||
Leeches: {
|
Leeches: {
|
||||||
leeches: "https://docs.ankiweb.net/leeches.html#leeches",
|
leeches: "https://docs.ankiweb.net/leeches.html#leeches",
|
||||||
|
|
|
@ -72,7 +72,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
>
|
>
|
||||||
<HelpModal
|
<HelpModal
|
||||||
title={tr.statisticsTrueRetentionTitle()}
|
title={tr.statisticsTrueRetentionTitle()}
|
||||||
url={HelpPage.DeckOptions.fsrs}
|
url={HelpPage.DeckOptions.desiredRetention}
|
||||||
|
linkLabel="Desired retention"
|
||||||
{helpSections}
|
{helpSections}
|
||||||
on:mount={(e) => {
|
on:mount={(e) => {
|
||||||
modal = e.detail.modal;
|
modal = e.detail.modal;
|
||||||
|
|
Loading…
Reference in a new issue