goal_branches.html 989 B

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