2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Report a problem › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 [% INCLUDE 'bodytag.inc' bodyid='opac-reportproblem' bodyclass='scrollto' %]
8 [% INCLUDE 'masthead.inc' %]
11 <nav aria-label="breadcrumb">
12 <ul class="breadcrumb">
13 <li class="breadcrumb-item">
14 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
16 <li class="breadcrumb-item active" aria-current="page">
17 <a href="#">Report a problem</a>
22 <div class="container-fluid">
24 [% IF ( OpacNav || OpacNavBottom ) %]
25 <div class="col-lg-2">
27 [% INCLUDE 'navigation.inc' %]
30 <div class="col-10 order-first order-md-first order-lg-2">
32 <div class="col order-first order-md-first order-lg-2">
34 <h1>Report a problem</h1>
37 [% FOR m IN messages %]
38 <div class="alert alert-[% m.type | html %]">
40 [% CASE 'success_on_send' %]
41 [% IF recipient == 'admin' %]
42 Your problem report has been sent to the Koha administrator.
44 Your problem report has been sent to the library.
46 [% CASE 'error_on_send' #We really should avoid reaching this! %]
47 Something wrong happened when sending the report. Please contact your library.
53 <div id="reportproblem" class="maincontent toptabs">
54 <form name="reportlibform" action="/cgi-bin/koha/opac-reportproblem.pl" method="post">
55 <input type="hidden" name="op" value="addreport" />
56 <fieldset class="rows">
59 <label for="recipient">Send problem report to: </label>
60 [% IF library.inbound_email_address && library.inbound_email_address != Koha.Preference('KohaAdminEmailAddress') %]
61 <select name="recipient" id="recipient">
62 <option value="library">A librarian</option>
63 <option value="admin">Koha administrator</option>
66 <span>Koha administrator</span>
70 <label for="problempage">Problem found on page: </label>
71 <input type="hidden" name="problempage" id="problempage" value="[% problempage | url %]" />
72 [% problempage | html %]<br/>
75 <label for="user">Username: </label>
76 <input type="hidden" name="user" id="user" value="[% username | html %]" />
79 <label for="subject">Subject: </label>
80 <input type="text" name="subject" id="subject" value="[% subject | html %]" />
83 <label for="message">Message: </label>
84 <textarea name="message" id="message" rows="7" cols="60"></textarea>
88 <fieldset class="action">
89 <input type="submit" value="Submit" class="btn btn-primary">
92 </div> <!-- / #reportproblem -->
94 [% END # /IF messages %]
96 </div> <!-- / .col-10/12 -->
97 </div> <!-- / .row -->
98 </div> <!-- / .container-fluid -->
99 </div> <!-- / .main -->
101 [% INCLUDE 'opac-bottom.inc' %]
102 [% BLOCK jsinclude %][% END %]