mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Merge 3929df8962
into 3890e12c9e
This commit is contained in:
commit
3d038506ac
4 changed files with 4 additions and 6 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>
|
||||||
|
Hannanilsenn <hanni614@student.liu.se>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
import { type HelpItem, HelpItemScheduler } from "./types";
|
import { type HelpItem, HelpItemScheduler } from "./types";
|
||||||
|
|
||||||
export let title: string;
|
export let title: string;
|
||||||
export let url: string;
|
export let url: string | 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;
|
||||||
|
|
|
@ -42,9 +42,7 @@
|
||||||
<div class="chapter-redirect">
|
<div class="chapter-redirect">
|
||||||
{@html renderMarkdown(
|
{@html renderMarkdown(
|
||||||
tr.helpForMoreInfo({
|
tr.helpForMoreInfo({
|
||||||
link: `<a href="${item.url}" title="${tr.helpOpenManualChapter({
|
link: `<a href="${item.url}" title="${tr.helpOpenManualChapter({ name: item.title })}">${item.title}</a>`,
|
||||||
name: item.title,
|
|
||||||
})}">${item.title}</a>`,
|
|
||||||
}),
|
}),
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,7 +5,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { GraphsResponse } from "@generated/anki/stats_pb";
|
import type { GraphsResponse } from "@generated/anki/stats_pb";
|
||||||
import * as tr from "@generated/ftl";
|
import * as tr from "@generated/ftl";
|
||||||
import { HelpPage } from "@tslib/help-page";
|
|
||||||
import HelpModal from "$lib/components/HelpModal.svelte";
|
import HelpModal from "$lib/components/HelpModal.svelte";
|
||||||
import type Carousel from "bootstrap/js/dist/carousel";
|
import type Carousel from "bootstrap/js/dist/carousel";
|
||||||
import type Modal from "bootstrap/js/dist/modal";
|
import type Modal from "bootstrap/js/dist/modal";
|
||||||
|
@ -72,7 +71,7 @@ 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=""
|
||||||
{helpSections}
|
{helpSections}
|
||||||
on:mount={(e) => {
|
on:mount={(e) => {
|
||||||
modal = e.detail.modal;
|
modal = e.detail.modal;
|
||||||
|
|
Loading…
Reference in a new issue