% layout 'AdminLTE', title => 'Sme server 2 - Bug report';

% content_for 'module' => begin

<div class="card-body">

    % if (config->{debug} == 1) {
        <div>
            (DBG)route: <%= $c->current_route %><br>
            (DBG)trt: <%= $bugr_datas->{trt} %><br>
        </div>
    % }

    <h1><%= $title %></h1>
    <!--br><%= $modul %><br-->
    <br>
    <h2><%= l ('bugr_DO_NOT_PANIC') %></h2>
    <br>
    <div>
        <%= l ('bugr_SME_EXPERIENCE') %>
    </div>
    <br>
    <div>
        <%= l ('bugr_USE_TEMPLATE') %>
        : <a href="https://wiki.koozali.org/Bugzilla_Help#Reporting_Bugs"
        target="_blank">https://wiki.koozali.org/Bugzilla_Help#Reporting_Bugs</a>
    </div>
    <br>
    <div>
        <%= l ('bugr_PLEASE_REPORT_HERE') %>
        : <a href="https://bugs.koozali.org"
        target="_blank">https://bugs.koozali.org</a>
    </div>
    <br>
    <div>
        <%= l ('bugr_FOLLOWING_REPORT_MIGHT_HELP') %>
    </div>
    <br>
    <div>
        <%= l ('bugr_REPORT_CONTENT') %>
        <br><br>
        <ul>
            <li>
            <%= l ('bugr_SME_VERSION') %>
            </li>
            <li>
            <%= l ('bugr_SERVER_MODE') %>
            </li>
            <li>
            <%= l ('bugr_PREVIOUS_SERVER_MODE') %>
            </li>
            <li>
            <%= l ('bugr_KERNEL_AND_ARCH') %>
            </li>
            <li>
            <%= l ('bugr_INSTALLED_RPMS') %>
            </li>
            <li>
            <%= l ('bugr_ALTERED_TEMPLATES') %>
            </li>
            <li>
            <%= l ('bugr_ALTERED_EVENTS') %>
            </li> <li>
            <%= l ('bugr_YUM_REPOS') %>
            </li>

        </ul>
    </div>

    <br>

    <div>
        <%= l ('bugr_PRIVACY') %>
    </div>

    <br>

    % my $btn = l('bugr_CREATE_REPORT');


    <form action="/smanager/bugreport" method="POST">
        <div class="row g-3 align-items-center">
            <div class="col-md-2">
                <button type="submit" class="btn btn-primary"><%= $btn %></button>
            </div>
        </div>
        <%= hidden_field 'trt' => $bugr_datas->{trt} %>
    </form>

    <br>

    <div>
    <b>
        <%= l ('bugr_DONATING') %>
        </b>
        <br><br>
        <%= l ('bugr_AWARE_SME') %>
        <br><br>
        <b>
        <%= l ('bugr_YOUR_HELP') %>
        </b>
        <br><br>
        <%= l ('bugr_CONSIDER_DONATING') %>
        <br><br>
    </div>

    <br>

    <div>
        <a href="https://wiki.koozali.org/Donate"
        target="_blank">
        <img src="/smanager/images/btn_donateCC_LG.gif" />
        </a>
    </div>

<br>

    <div>
        <a href="https://wiki.koozali.org/Donate"
        target="_blank">Donate
        </a>
    </div>


    <br>
    <div>
        <%= l ('bugr_THANK_YOU') %>
    </div>

</div>

%end