add support for columns without buttons

closes https://github.com/sqlpage/SQLPage/issues/851
This commit is contained in:
lovasoa
2025-03-11 00:18:30 +01:00
parent b738b0dd45
commit e35c49126d
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -19,6 +19,8 @@
- fix a crash when manipulating TINYINTs from microsoft sql server
- update sqlparser to 0.55: https://github.com/apache/datafusion-sqlparser-rs/blob/main/changelog/0.55.0.md
- fix a diplay issue when using intra-page anchor links inside tables with fixed headers
- Columns without buttons
- In the columns component, when no button text is specified, no button is displayed (instead of an empty button)
## 0.33.1 (2025-02-25)
+2
View File
@@ -31,9 +31,11 @@
{{/each}}
</ul>
</div>
{{#if button_text}}
<div class="text-center">
<a href="{{link}}" {{#if target}}target="{{target}}"{{/if}} class="btn w-100 {{#if button_color}}btn-{{button_color}}{{/if}}">{{button_text}}</a>
</div>
{{/if}}
</div>
</div>
</div>