Files
wekan/client/components/rules/rulesMain.jade
T
Lauri Ojansivu daaf563910 Docs: implemented designs move to docs/Features, filed the way the menu is.
A design that describes what WeKan already DOES belongs with the feature it
describes, not in the folder for things being proposed. Fifteen docs move:

  Design/Accessibility.md      -> Features/Accessibility/Accessibility-Improvements.md
  Design/Original-Positions.md -> Features/Board/Original-Positions.md
  Design/Page/*                -> Features/Page/*   (thirteen pages that exist)
  Design/AdminPanelProblems.md -> Features/Admin-Panel/Problems/Design.md

What stays in docs/Design is what the folder is for: the principles
(Design-Principles, Monkey-Proof-Software), the comparisons, the roadmap
(Multiverse), and the proposals not yet built (Multitenancy, Autoupdate).

The Admin Panel Problems design is new and covers six changes - summaries, the
per-actor tally, IPv4/IPv6 columns, an API report, a per-address login tally,
and blocking with increasing delays. Three are shipped and three are planned;
it is filed under the feature because the pane exists, with each planned item
marked so it can become plain description as it lands.

Every reference in the repository is rewritten - 152 files, including the CSS
comments that point at the table-page design, which a first pass over .md and
.js alone missed. Two suites asserted the old paths and now assert the new
ones. A moved doc whose links nobody fixed is worse than one nobody moved.

Thanks to xet7 !
2026-08-16 15:15:01 +03:00

32 lines
1.2 KiB
Plaintext

template(name="rulesControls")
//- The controls of this page. They were a group in its second header bar,
beside a title the first bar now carries; they are a view of the shared
page sidebar. models/lib/pageSidebar.js, docs/Features/Page/Header.md
a.board-header-btn.js-rules-back-to-board(title="{{_ 'back'}}")
i.fa.fa-arrow-left
| {{_ 'board'}}
a.board-header-btn.js-rules-toggle-view(title="{{_ 'r-workflow-view'}}")
i.fa.fa-sitemap
if isWorkflowView
| {{_ 'r-list-view'}}
else
| {{_ 'r-workflow-view'}}
a.board-header-btn.js-rules-import-export(title="{{_ 'r-import-export'}}")
i.fa.fa-exchange
| {{_ 'r-import-export'}}
template(name="rulesMain")
.wrapper
.rules-page(class=currentBoard.colorClass)
if($eq rulesCurrentTab.get 'rulesList')
if isWorkflowView
+rulesWorkflow
else
+rulesList
if($eq rulesCurrentTab.get 'trigger')
+rulesTriggers(ruleName=ruleName triggerVar=triggerVar)
if($eq rulesCurrentTab.get 'action')
+rulesActions(ruleName=ruleName triggerVar=triggerVar)
if($eq rulesCurrentTab.get 'ruleDetails')
+ruleDetails(ruleId=ruleId)