From 4bc083944355611043e399b381418433f4197535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sat, 28 May 2022 11:45:07 +0200 Subject: [PATCH] web-model: info desc and title --- .../files/lib/gluon/web/view/model/info.html | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/package/gluon-web-model/files/lib/gluon/web/view/model/info.html b/package/gluon-web-model/files/lib/gluon/web/view/model/info.html index d1edd81f..92da0150 100644 --- a/package/gluon-web-model/files/lib/gluon/web/view/model/info.html +++ b/package/gluon-web-model/files/lib/gluon/web/view/model/info.html @@ -1,7 +1,19 @@ -
- <% if self.title then %> - - <% end %> +<%- if self.title then -%> +
> + - <%=self.content%> + <%=self.description%>
+<%- elseif self.content then -%> +
> + <%=self.content%> +
+<%- end -%>