2019-11-04 15:00:46 +01:00
|
|
|
{{define "read_all_header"}}
|
|
|
|
<div class="karmen-info-header">
|
|
|
|
<div class="row">
|
2019-11-18 17:04:07 +01:00
|
|
|
{{if .options.buttonTitle}}
|
2019-11-04 15:00:46 +01:00
|
|
|
<div class="col-md-8">
|
|
|
|
<h1>{{.options.title}} ({{.lengthData}})</h1>
|
|
|
|
</div>
|
2019-12-09 09:45:45 +01:00
|
|
|
{{if .modelPath}}
|
2019-11-04 15:00:46 +01:00
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="btn-group float-right">
|
|
|
|
{{template "create_button" dict "buttonTitle" .options.buttonTitle "modelPath" .modelPath}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-09 09:45:45 +01:00
|
|
|
{{end}}
|
2019-11-18 17:04:07 +01:00
|
|
|
{{else}}
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h1>{{.options.title}}</h1>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2019-11-04 15:00:46 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|