Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2da8e5b7

Přidáno uživatelem Michal Linha před téměř 4 roky(ů)

re #8113 re #7885 changed header column generation and row indentations; re #8154 nothing; no comments

Zobrazit rozdíly:

src/main/webapp/WEB-INF/templates/assembly.html
219 219
                <table class="tg table table-striped">
220 220
                    <tr th:each="contingencyTableRow : ${contingencyTableRows}">
221 221
                        <div class="tg-align" th:if="${contingencyTableRow.isHeader()}">
222
                            <th class="tg-align" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}" th:colspan="${contingencyTableRowCell.getColSpan()}">
222
                            <th class="tg-align-center" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}" th:colspan="${contingencyTableRowCell.getColSpan()}">
223 223
                                <span th:text="${contingencyTableRowCell.getValue()}"></span>
224 224
                            </th>
225 225
                        </div>
226 226
                        <div th:unless="${contingencyTableRow.isHeader()}">
227
                            <td class="tg-align" th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}">
228
                                <span th:text="${contingencyTableRowCell.getValue()}"></span>
229
                            </td>
227
                            <optional th:each="contingencyTableRowCell, iterStat : ${contingencyTableRow.getCells()}">
228
                                <td th:if="${iterStat.index == 0}" class="tg-align-left">
229
                                    <span class="tg-left-span" th:text="${contingencyTableRowCell?.getValue()}"></span>
230
                                </td>
231
                                <td th:unless="${iterStat.index == 0}" class="tg-align-center">
232
                                    <span th:text="${contingencyTableRowCell?.getValue()}"></span>
233
                                </td>
234
                            </optional>
230 235
                        </div>
231 236
                    </tr>
232 237
                </table>

Také k dispozici: Unified diff