mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
//- The ? of a feature place (docs/Features/Help-Button.md).
|
|
//-
|
|
//- `+featureHelp(id='workload')` with an id of models/lib/featureHelp.js. An id
|
|
//- that is not there draws nothing, so a place whose help is chosen at run time
|
|
//- (the open view, popup, pane or card section) passes whatever it has and gets
|
|
//- a ? only when there is a help for it.
|
|
//-
|
|
//- A real button in the header's own row, after its title and before its other
|
|
//- controls end the row; featureHelp.css puts it at the inline END, which is
|
|
//- the right in a left-to-right page and the left in Arabic, from the same rule.
|
|
template(name="featureHelp")
|
|
if hasHelp
|
|
button.feature-help-btn.js-open-feature-help(
|
|
type="button"
|
|
data-feature-help=id
|
|
title="{{_ 'how-it-works'}}"
|
|
aria-label="{{_ 'how-it-works'}}"
|
|
aria-haspopup="dialog")
|
|
i.fa.fa-question-circle(aria-hidden="true")
|
|
|
|
//- The texts as TEXT: double braces, never triple, so nothing in a translation
|
|
//- can become markup. Title "How it works" comes from Popup's titleKey.
|
|
template(name="featureHelpPopup")
|
|
.feature-help-content(dir="auto" data-feature-help=id)
|
|
h2.feature-help-heading {{_ 'what-it-is'}}
|
|
p.feature-help-text {{_ whatKey}}
|
|
h2.feature-help-heading {{_ 'how-it-works'}}
|
|
p.feature-help-text {{_ howKey}}
|