<commit_before><!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
    xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
    layout:decorator="layout">

<div layout:fragment="content">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row">
                <div class="col-xs-12">
                    <h1 th:inline="text">
                        <th:block th:text="#{field.overview}"/>
                        <th:block th:text="${year}"/>
                    </h1>
                </div>
            </div>
        </div>
    </section>
    <section class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-xs-12 col-sm-8 module employee-overview">
                    <p class="pull-right visible-xs info-toggle">
                        <button type="button"
                            class="btn btn-primary btn-xs offcanvas-toggle"
                            data-toggle="filter" th:text="#{field.filter}"></button>
                    </p>

                    <div class="panel-group" id="accordion" role="tablist">
                        <!-- ein mitarbeiter -->
                        <div class="panel" th:each="account, iterator : ${accounts}">

                            <div class="panel-heading" th:id="|heading${iterator.index}|">
                                <div class="progress-group">
                                    <a th:href="@{/userDetails(user=${account.user.id})}"
                                        th:if="${#authorization.expression('hasRole(''SUPERVISOR'')')}"
                                        class="progress-text"
                                        th:text="${account.user.lastname + ', ' + account.user.firstname}">Username</a>
                                    <span
                                        th:unless="${#authorization.expression('hasRole(''SUPERVISOR'')')}"
                                        class="progress-text"
                                        th:text="${account.user.lastname + ', ' + account.user.firstname}">Username</span>
                                    <span class="progress-number"> <b> <span
                                            th:text="${{account.totalVacationDays}}"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.totalVacationsYear}">30</span> <span
                                            th:if="${account.previousYearOpenVacationDays > 0}"
                                            th:text="${{'(+'+account.previousYearOpenVacationDays+')'}}"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.leftDaysLastYear}">(+0)</span>
                                    </b> <span th:text="#{field.total}">Gesamt</span> <a
                                        data-toggle="collapse" data-parent="#accordion"
                                        th:href="|#collapse${iterator.index}|"> <span
                                            class="glyphicon glyphicon-info-sign"></span>
                                    </a>
                                    </span>
                                    <div class="progress">
                                        <div class="progress-bar progress-bar-success"
                                            th:style="|width: ${account.totalVacationDays &lt;= 0 ? 0 : account.approvedVacationDays/(account.totalVacationDays + account.previousYearOpenVacationDays) * 100}%;|"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.approvedVacations} + ': ' + ${{account.approvedVacationDays}}|">
                                            <span th:text="${{account.approvedVacationDays}}">genehmigte
                                                Urlaubstage</span>
                                        </div>
                                        <div
                                            class="progress-bar progress-bar-warning progress-bar-striped"
                                            th:style="|width: ${account.totalVacationDays &lt;= 0 ? 0 : account.pendingVacationDays/(account.totalVacationDays + account.previousYearOpenVacationDays) * 100}%;|"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.vacationsApplied} + ': ' + ${{account.pendingVacationDays}}|">
                                            <span th:text="${{account.pendingVacationDays}}">beantragte
                                                Urlaubstage</span>
                                        </div>
                                        <div class="progress-bar progress-bar-empty"
                                            th:style="|width: ${account.totalVacationDays &lt;= 0 ? 0 : account.openVacationDays/(account.totalVacationDays + account.previousYearOpenVacationDays) * 100}%;|"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.openVacationDays} + ': ' + ${{account.openVacationDays}}|">
                                            <span th:text="${{account.openVacationDays}}">noch
                                                verfügbare Urlaubstage</span>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div th:id="|collapse${iterator.index}|"
                                class="panel-collapse collapse">
                                <div class="panel-body">
                                    <table class="table table-hover table-condensed">
                                        <tr>
                                            <th th:text="#{field.entryText}">Buchungstext</th>
                                            <th th:text="#{field.dateFrom}">von</th>
                                            <th th:text="#{field.dateTo}">bis</th>
                                            <th th:text="#{field.days}">Tage</th>
                                            <th th:text="#{field.saldo}">Saldo</th>
                                        </tr>
                                        <tr
                                            th:if="${#numbers.formatDecimal(account.previousYearOpenVacationDays,1,1) != '0,0'}">
                                            <td th:text="#{field.leftDaysLastYear}">Resturlaub
                                                Vorjahr</td>
                                            <td />
                                            <td />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.previousYearOpenVacationDays,1,1)}" />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.previousYearOpenVacationDays,1,1)}" />
                                        </tr>
                                        <tr>
                                            <td th:text="#{field.creditAnnualVacation}">Gutschrift</td>
                                            <td />
                                            <td />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.totalVacationDays,1,1)}" />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.totalVacationDays + account.previousYearOpenVacationDays,1,1)}" />

                                        </tr>
                                        <th:block th:each="entry, iterator : ${account.entries}">
                                            <tr> 
                                                <td th:if="${{entry.state.toString() != 'APPROVED'}}" th:text="#{field.vacation} + '*'">Urlaub</td>
                                                <td th:if="${{entry.state.toString() == 'APPROVED'}}" th:text="#{field.vacation}">Urlaub</td>
                                                <td th:text="${{entry.from}}" />
                                                <td th:text="${{entry.to}}" />
                                                <td th:text="${#numbers.formatDecimal(entry.days,1,1)}" />
                                                <td th:text="${#numbers.formatDecimal(entry.balance,1,1)}" />
                                            </tr>
                                        </th:block>
                                    </table>

                                </div>
                            </div>
                            <!-- /.panel-body -->
                        </div>

                        <!-- /ein mitarbeiter -->

                    </div>
                    <!-- /.panel-group -->
                </div>

                <div class="col-xs-12 col-sm-4 module offcanvas-filter" id="sidebar">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                        	<th:block th:text="#{field.infoPanel}"/>
                        </div>
                       	 <form th:action="@{/overview}" method="post">
                            <div class="panel-body">
                                <div class="box" id="year-filter">
                                    <div class="box-header with-border">
                                        <h3 class="box-title" th:text="#{overview.year}"></h3>
                                        <div class="box-tools pull-right btn-group" role="group">
                                            <button type="submit" class="btn btn-default"
                                                    name="year" th:value="${year - 1}">
                                                <span aria-hidden="true">&laquo;</span>
                                            </button>
                                            <button type="submit" class="btn btn-default"
                                                    name="year" th:value="${#dates.year(#dates.createNow())}"
                                                    th:text="#{overview.currentYear}"></button>
                                            <button type="submit" class="btn btn-default"
                                                    name="year" th:value="${year + 1}" th:disabled="${year == #dates.year(#dates.createNow())}" >
                                                <span aria-hidden="true">&raquo;</span>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="panel-body">
                                <input type="hidden" name="year" th:value="${year}" />
                                <div th:include="components/employeeFilter :: employeeFilter">
                                    employeeFilter</div>
                            </div>
                        </form>
                </div></div>
            </div>
        </div>
    </section>

</div>
</html>
<commit_msg>changed localization<commit_after><!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
    xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
    layout:decorator="layout">

<div layout:fragment="content">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row">
                <div class="col-xs-12">
                    <h1 th:inline="text">
                        <th:block th:text="#{field.overview}"/>
                        <th:block th:text="${year}"/>
                    </h1>
                </div>
            </div>
        </div>
    </section>
    <section class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-xs-12 col-sm-8 module employee-overview">
                    <p class="pull-right visible-xs info-toggle">
                        <button type="button"
                            class="btn btn-primary btn-xs offcanvas-toggle"
                            data-toggle="filter" th:text="#{field.filter}"></button>
                    </p>

                    <div class="panel-group" id="accordion" role="tablist">
                        <!-- ein mitarbeiter -->
                        <div class="panel" th:each="account, iterator : ${accounts}">

                            <div class="panel-heading" th:id="|heading${iterator.index}|">
                                <div class="progress-group">
                                    <a th:href="@{/userDetails(user=${account.user.id})}"
                                        th:if="${#authorization.expression('hasRole(''SUPERVISOR'')')}"
                                        class="progress-text"
                                        th:text="${account.user.lastname + ', ' + account.user.firstname}">Username</a>
                                    <span
                                        th:unless="${#authorization.expression('hasRole(''SUPERVISOR'')')}"
                                        class="progress-text"
                                        th:text="${account.user.lastname + ', ' + account.user.firstname}">Username</span>
                                    <span class="progress-number"> <b> <span
                                            th:text="${{account.totalVacationDays}}"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.totalVacationsYear}">30</span> <span
                                            th:if="${account.previousYearOpenVacationDays > 0}"
                                            th:text="${{'(+'+account.previousYearOpenVacationDays+')'}}"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.leftDaysLastYear}">(+0)</span>
                                    </b> <span th:text="#{field.total}">Gesamt</span> <a
                                        data-toggle="collapse" data-parent="#accordion"
                                        th:href="|#collapse${iterator.index}|"> <span
                                            class="glyphicon glyphicon-info-sign"></span>
                                    </a>
                                    </span>
                                    <div class="progress">
                                        <div class="progress-bar progress-bar-success"
                                            th:style="|width: ${account.totalVacationDays &lt;= 0 ? 0 : account.approvedVacationDays/(account.totalVacationDays + account.previousYearOpenVacationDays) * 100}%;|"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.approvedVacations} + ': ' + ${{account.approvedVacationDays}}|">
                                            <span th:text="${{account.approvedVacationDays}}">genehmigte
                                                Urlaubstage</span>
                                        </div>
                                        <div
                                            class="progress-bar progress-bar-warning progress-bar-striped"
                                            th:style="|width: ${account.totalVacationDays &lt;= 0 ? 0 : account.pendingVacationDays/(account.totalVacationDays + account.previousYearOpenVacationDays) * 100}%;|"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.pendingVacations} + ': ' + ${{account.pendingVacationDays}}|">
                                            <span th:text="${{account.pendingVacationDays}}">beantragte
                                                Urlaubstage</span>
                                        </div>
                                        <div class="progress-bar progress-bar-empty"
                                            th:style="|width: ${account.totalVacationDays &lt;= 0 ? 0 : account.openVacationDays/(account.totalVacationDays + account.previousYearOpenVacationDays) * 100}%;|"
                                            data-toggle="tooltip" data-placement="top"
                                            th:title="#{field.openVacationDays} + ': ' + ${{account.openVacationDays}}|">
                                            <span th:text="${{account.openVacationDays}}">noch
                                                verfügbare Urlaubstage</span>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div th:id="|collapse${iterator.index}|"
                                class="panel-collapse collapse">
                                <div class="panel-body">
                                    <table class="table table-hover table-condensed">
                                        <tr>
                                            <th th:text="#{field.entryText}">Buchungstext</th>
                                            <th th:text="#{field.dateFrom}">von</th>
                                            <th th:text="#{field.dateTo}">bis</th>
                                            <th th:text="#{field.days}">Tage</th>
                                            <th th:text="#{field.saldo}">Saldo</th>
                                        </tr>
                                        <tr
                                            th:if="${#numbers.formatDecimal(account.previousYearOpenVacationDays,1,1) != '0,0'}">
                                            <td th:text="#{field.leftDaysLastYear}">Resturlaub
                                                Vorjahr</td>
                                            <td />
                                            <td />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.previousYearOpenVacationDays,1,1)}" />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.previousYearOpenVacationDays,1,1)}" />
                                        </tr>
                                        <tr>
                                            <td th:text="#{field.creditAnnualVacation}">Gutschrift</td>
                                            <td />
                                            <td />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.totalVacationDays,1,1)}" />
                                            <td
                                                th:text="${#numbers.formatDecimal(account.totalVacationDays + account.previousYearOpenVacationDays,1,1)}" />

                                        </tr>
                                        <th:block th:each="entry, iterator : ${account.entries}">
                                            <tr> 
                                                <td th:if="${{entry.state.toString() != 'APPROVED'}}" th:text="#{field.vacation} + '*'">Urlaub</td>
                                                <td th:if="${{entry.state.toString() == 'APPROVED'}}" th:text="#{field.vacation}">Urlaub</td>
                                                <td th:text="${{entry.from}}" />
                                                <td th:text="${{entry.to}}" />
                                                <td th:text="${#numbers.formatDecimal(entry.days,1,1)}" />
                                                <td th:text="${#numbers.formatDecimal(entry.balance,1,1)}" />
                                            </tr>
                                        </th:block>
                                    </table>

                                </div>
                            </div>
                            <!-- /.panel-body -->
                        </div>

                        <!-- /ein mitarbeiter -->

                    </div>
                    <!-- /.panel-group -->
                </div>

                <div class="col-xs-12 col-sm-4 module offcanvas-filter" id="sidebar">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                        	<th:block th:text="#{field.infoPanel}"/>
                        </div>
                       	 <form th:action="@{/overview}" method="post">
                            <div class="panel-body">
                                <div class="box" id="year-filter">
                                    <div class="box-header with-border">
                                        <h3 class="box-title" th:text="#{overview.year}"></h3>
                                        <div class="box-tools pull-right btn-group" role="group">
                                            <button type="submit" class="btn btn-default"
                                                    name="year" th:value="${year - 1}">
                                                <span aria-hidden="true">&laquo;</span>
                                            </button>
                                            <button type="submit" class="btn btn-default"
                                                    name="year" th:value="${#dates.year(#dates.createNow())}"
                                                    th:text="#{overview.currentYear}"></button>
                                            <button type="submit" class="btn btn-default"
                                                    name="year" th:value="${year + 1}" th:disabled="${year == #dates.year(#dates.createNow())}" >
                                                <span aria-hidden="true">&raquo;</span>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="panel-body">
                                <input type="hidden" name="year" th:value="${year}" />
                                <div th:include="components/employeeFilter :: employeeFilter">
                                    employeeFilter</div>
                            </div>
                        </form>
                </div></div>
            </div>
        </div>
    </section>

</div>
</html>

{'fraction_non_alphanumeric': 0.1248446938862945, 'fraction_numerical': 0.004198620453279637, 'mean_word_length': 0.8478467384420519, 'pattern_counts': {'":': 0, '<': 309, '<?xml version=': 0, '>': 311, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 346, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1885238', 'n_tokens_mistral': 4924, 'n_tokens_neox': 4622, 'n_words': 667}