changeset 4fa58cecde7e in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset&node=4fa58cecde7e
description:
Ensure all tables have table classes
Bootstrap classes applied to tr and td elements in tables without a
table class are not applied in bootstrap 5.
issue11150
review387791002
diffstat:
templates/guidelines/help.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 364a53fdda62 -r 4fa58cecde7e templates/guidelines/help.html
--- a/templates/guidelines/help.html Tue Jan 25 15:52:05 2022 +0000
+++ b/templates/guidelines/help.html Tue Jan 25 15:52:52 2022 +0000
@@ -74,7 +74,7 @@
<h4 id="fields">Fields</h4>
<ul>
<li>Avoid using <mark>this</mark> or <mark>that</mark> when referring
to the field's value because the help text may be used when the value is not
visible:
- <table>
+ <table class="table table-borderless table-sm">
<tr class="table-success">
<td>Use:</td>
<td>"The last date when the MODEL-NAME can be
used."</td></tr>
@@ -85,7 +85,7 @@
<li>On selection fields don't refer to the selection's options, these
may change depending on what modules are activated.</li>
<li>Help text for fields should describe either what is contained in
the field or what it is used for.
Avoid using verbs for these:
- <table>
+ <table class="table table-borderless table-sm">
<tr class="table-success">
<td>Use:</td>
<td>"Used to group stock moves together."</td></tr>