| 12345678910111213141516171819202122 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <!-- A partial (plan 16 R3, arch 16): the goal's daemon-reported
- branch chips — included 3x from goal_detail (status head,
- pending completion review, terminal completion card). The
- materialise tag carries the stm-if gate; the optional `note`
- input renders the head's trailing muted note (absent
- elsewhere: note resolves undefined and the span hides). -->
- <pstm-name>goal-branches</pstm-name>
- </head>
- <body pstm-materialise-as="p" stm-if="goal.push_branches.length > 0">
- <pstm-input name="note"/>
- Goal branches:
- <span stm-for-branch-in="goal.push_branches">
- <code stm-text="branch.branch">b</code>
- <span stm-attribute.class="branch.pushed ? 'badge badge-done' : 'badge badge-failed'"
- stm-text="branch.pushed ? 'pushed' : 'unpushed'">state</span>
- </span>
- <span class="text-muted" stm-if="note != null" stm-text="note">note</span>
- </body>
- </html>
|