mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
67 lines
2.7 KiB
Plaintext
67 lines
2.7 KiB
Plaintext
//- #6732: dependencies in Member Settings - each user's own view of them.
|
|
//- Design: docs/Features/General/Editor/RedStrings/Board-And-My-Dependencies.md
|
|
template(name="memberDependencyMenuItems")
|
|
li
|
|
a.js-toggle-my-dependencies(role="menuitemcheckbox" aria-checked="{{#if showMyDependencies}}true{{else}}false{{/if}}")
|
|
i.fa(class="{{#if showMyDependencies}}fa-check-square-o{{else}}fa-square-o{{/if}}")
|
|
| {{_ 'show-my-dependencies'}}
|
|
li
|
|
a.js-toggle-board-dependencies(role="menuitemcheckbox" aria-checked="{{#if showBoardDependencies}}true{{else}}false{{/if}}")
|
|
i.fa(class="{{#if showBoardDependencies}}fa-check-square-o{{else}}fa-square-o{{/if}}")
|
|
| {{_ 'show-board-dependencies'}}
|
|
li
|
|
a.js-import-member-dependencies
|
|
i.fa.fa-upload
|
|
| {{_ 'import'}}
|
|
li
|
|
a.js-export-member-dependencies
|
|
i.fa.fa-download
|
|
| {{_ 'export'}}
|
|
|
|
template(name="importMemberDependenciesPopup")
|
|
if currentBoard
|
|
form.js-import-member-dependencies-form
|
|
fieldset.dependency-layer-choice
|
|
label
|
|
input(type="radio" name="dependency-layer" value="mine" checked="checked")
|
|
| {{_ 'my-dependencies'}}
|
|
label(class="{{#unless canEditBoardDependencies}}is-disabled{{/unless}}")
|
|
if canEditBoardDependencies
|
|
input(type="radio" name="dependency-layer" value="board")
|
|
else
|
|
input(type="radio" name="dependency-layer" value="board" disabled="disabled")
|
|
| {{_ 'board-dependencies'}}
|
|
unless canEditBoardDependencies
|
|
p.quiet.js-board-dependencies-edit-required {{_ 'dependencies-board-edit-required'}}
|
|
label
|
|
| {{_ 'import-dependencies-file'}}
|
|
input.js-import-member-dependencies-file(type="file" accept=".json,.svg,application/json,image/svg+xml")
|
|
textarea.js-import-member-dependencies-text(rows="6" placeholder="{{_ 'import-dependencies-placeholder'}}")
|
|
button.primary.confirm.js-import-member-dependencies-submit(type="submit") {{_ 'import'}}
|
|
if importResult
|
|
p.quiet.js-import-member-dependencies-result {{importResult}}
|
|
else
|
|
p.quiet {{_ 'dependencies-open-a-board'}}
|
|
|
|
template(name="exportMemberDependenciesPopup")
|
|
if currentBoard
|
|
ul.pop-over-list
|
|
li
|
|
a.js-export-my-dependencies-json
|
|
i.fa.fa-file-code-o
|
|
| {{_ 'my-dependencies'}} (JSON)
|
|
li
|
|
a.js-export-my-dependencies-svg
|
|
i.fa.fa-picture-o
|
|
| {{_ 'my-dependencies'}} (SVG)
|
|
li
|
|
a.js-export-board-dependencies-json
|
|
i.fa.fa-file-code-o
|
|
| {{_ 'board-dependencies'}} (JSON)
|
|
li
|
|
a.js-export-board-dependencies-svg
|
|
i.fa.fa-picture-o
|
|
| {{_ 'board-dependencies'}} (SVG)
|
|
else
|
|
p.quiet {{_ 'dependencies-open-a-board'}}
|