Bug 20819: Add your consents tab to opac-user
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / includes / usermenu.inc
index da5e1ec..42f073b 100644 (file)
                 <li>
             [% END %]
                 <a href="/cgi-bin/koha/opac-memberentry.pl">your personal details</a></li>
+
+            [% IF Koha.Preference('GDPR_Policy') # remove when extending %]
+                [% IF consentview %]<li class="active">[% ELSE %]<li>[% END %]
+                    <a href="/cgi-bin/koha/opac-patron-consent.pl">your consents</a>
+                </li>
+            [% END %]
+
             [% IF Koha.Preference( 'TagsEnabled' ) == 1 %]
                 [% IF ( tagsview ) %]
                     <li class="active">