Jan Dittberner
94dcb5bd75
- implement custom http.Filesystem boardvoting.AssetFS - replace "footer" and "header" with "footer.html" and "header.html" - change renderTemplate to use Assets - use boardvoting.GetAssetFS() with http.Fileserver
19 lines
No EOL
661 B
HTML
19 lines
No EOL
661 B
HTML
{{ template "header.html" . }}
|
|
{{ $voter := .Voter }}
|
|
<div class="column">
|
|
<div class="ui basic segment">
|
|
<div class="ui floated right secondary menu">
|
|
<a href="/motions/" class="item" title="Show all votes">All votes</a>
|
|
{{ if $voter }}<a href="/motions/?unvoted=1" class="item" title="Show my outstanding votes">My outstanding votes</a>{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ with .Decision }}
|
|
<div class="column">
|
|
<div class="ui raised segment">
|
|
{{ template "motion_fragment" . }}
|
|
{{ if $voter }}{{ template "motion_actions" . }}{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end}}
|
|
{{ template "footer.html" . }} |