15 lines
No EOL
571 B
HTML
15 lines
No EOL
571 B
HTML
{{ $i := .Get 0}}
|
|
{{ $info := data.GetJSON $i }}
|
|
{{ $bill := index $info 0}}
|
|
|
|
{{if $bill.NumberCode }}
|
|
<h2 style="text-align: center;">{{$bill.NumberCode}}: {{$bill.ShortTitleEn}}</h2>
|
|
<div style="border: 1px solid var(--theme-accent);margin:1rem;padding:0.5rem;">
|
|
<p>
|
|
<strong>Status:</strong> {{$bill.StatusNameEn}} <br>as of {{$bill.LatestCompletedBillStageDateTime | time.Format "Jan 02 2006"}}
|
|
</p>
|
|
<p><i>Data provided by: </i><a href="https://www.parl.ca/legisinfo/en/overview">LEGIS<i>info</i></a></p>
|
|
</div>
|
|
{{else}}
|
|
Error fetching data
|
|
{{end}} |