|
@@ -1,4 +1,4 @@
|
|
-<div class="widget widget-type-{{ .GetType }}">
|
|
|
|
|
|
+<div class="widget widget-type-{{ .GetType }}{{ if ne "" .CSSClass }} {{ .CSSClass }}{{ end }}">
|
|
<div class="widget-header">
|
|
<div class="widget-header">
|
|
<div class="uppercase">{{ .Title }}</div>
|
|
<div class="uppercase">{{ .Title }}</div>
|
|
{{ if and .Error .ContentAvailable }}
|
|
{{ if and .Error .ContentAvailable }}
|
|
@@ -7,7 +7,7 @@
|
|
<div class="notice-icon notice-icon-minor" title="{{ .Notice }}"></div>
|
|
<div class="notice-icon notice-icon-minor" title="{{ .Notice }}"></div>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
- <div class="widget-content {{ if .ContentAvailable }}{{ block "widget-content-classes" . }}{{ end }}{{ end }}">
|
|
|
|
|
|
+ <div class="widget-content{{ if .ContentAvailable }} {{ block "widget-content-classes" . }}{{ end }}{{ end }}">
|
|
{{ if .ContentAvailable }}
|
|
{{ if .ContentAvailable }}
|
|
{{ block "widget-content" . }}{{ end }}
|
|
{{ block "widget-content" . }}{{ end }}
|
|
{{ else }}
|
|
{{ else }}
|