| 1 | import Chart from "./chart.marko"; |
| 2 | <h1>Report</h1> |
| 3 | <if=showDetails> |
| 4 | <h2>Details</h2> |
| 5 | <p>Here is a detailed <strong>breakdown</strong>:</p> |
| 6 | <for|quarter| of=quarters> |
| 7 | <h3>Q${quarter.num}</h3> |
| 8 | <p>Revenue: <strong>${quarter.revenue}</strong></p> |
| 9 | <Chart data=quarter.data /> |
| 10 | </for> |
| 11 | </if> |