oef/templates/layout/read_all_header.html.tpl
2019-12-09 09:45:45 +01:00

22 lines
550 B
Smarty

{{define "read_all_header"}}
<div class="karmen-info-header">
<div class="row">
{{if .options.buttonTitle}}
<div class="col-md-8">
<h1>{{.options.title}} ({{.lengthData}})</h1>
</div>
{{if .modelPath}}
<div class="col-md-4">
<div class="btn-group float-right">
{{template "create_button" dict "buttonTitle" .options.buttonTitle "modelPath" .modelPath}}
</div>
</div>
{{end}}
{{else}}
<div class="col-md-12">
<h1>{{.options.title}}</h1>
</div>
{{end}}
</div>
</div>
{{end}}