[Koha-bugs] [Bug 20429] New: opac-privacy.pl display needs changed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 15 19:16:31 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20429

            Bug ID: 20429
           Summary: opac-privacy.pl display needs changed
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

The opac-privacy.pl (privacy tab) displays either "Your reading history has
been deleted" OR "NO reading history to delete". 

This is true even if the user has a reading history and hasn't deleted it.
There should be a 3rd case where the display <span> class is hidden. 


Here is the code from the opac-privacy.tt file:


                <div id="userprivacy">
                    <h3>Your privacy management</h3>

                    [% IF deleted %]
                        <div class="alert alert-success">Your reading history
has been deleted.</div>
                    [% ELSE %]
                        <div class="alert">No reading history to delete</div>
                    [% END %]


A 3rd clause that checks if there is a reading history or not and then hides
the display if there is should be added.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list