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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to