Diferencia entre revisiones de «Módulo:Ficha»
Permitir sucesiones 2 |
Permitir sucesiones 3 |
||
| Línea 69: | Línea 69: | ||
local datosCelula = fila.tag('td') | local datosCelula = fila.tag('td') | ||
if rowArgs.etiqueta then | if rowArgs.etiqueta then | ||
datosCelula.attr('colspan', 2) | datosCelula | ||
.attr('colspan', 2) | |||
else | else | ||
datosCelula | datosCelula | ||
| Línea 417: | Línea 418: | ||
.css('padding', '0.2em 0.1em 0.2em 0') | .css('padding', '0.2em 0.1em 0.2em 0') | ||
.css('vertical-align', 'middle') | .css('vertical-align', 'middle') | ||
if not argumentosSucesion.siguiente then | |||
celda.attr('colspan', 2) | |||
end | |||
if argumentosSucesion['estilo fuente'] then | if argumentosSucesion['estilo fuente'] then | ||
celda | celda | ||
| Línea 439: | Línea 443: | ||
.css('vertical-align', 'middle') | .css('vertical-align', 'middle') | ||
.css('background-color', argumentosSucesion.color or '#E6E8FA') | .css('background-color', argumentosSucesion.color or '#E6E8FA') | ||
if not argumentosSucesion.anterior then | |||
celda.attr('colspan', 2) | |||
end | |||
celda | |||
.tag('span') | .tag('span') | ||
.css('font-weight', 'bold') | .css('font-weight', 'bold') | ||
| Línea 456: | Línea 465: | ||
.css('padding', '0.2em 0 0.2em 0.1em') | .css('padding', '0.2em 0 0.2em 0.1em') | ||
.css('vertical-align', 'middle') | .css('vertical-align', 'middle') | ||
if argumentosSucesion['estilo fuente'] then | if argumentosSucesion['estilo fuente'] then | ||
celda | celda | ||