oef/templates/layout/read_all_header.html.tpl

23 lines
550 B
Smarty
Raw Normal View History

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>
{{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>
{{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}}