Bug 37859: Fix style of tabs on comment review page
This patch corrects the tab markup on the comment review page. These tabs are just links styled as tabs -- there isn't any JS tab swapping. This kind of "static" tab markup wasn't handled by the tabs WRAPPER work. To test you should have some comments data in your system: - Go to Administration -> System preferences and enable the "OPACComments" preference. - Log in to the OPAC and search for a bibliographic record. - View the detail page for the record and click the "Comments" tab. - Click "Post your comments on this title." - Enter some text in the review box and submit. In the staff interface, go to Tools -> Comments. - You should see two tabs: "Approved comments" and "Comments awaiting moderation." - Confirm that the tabs look correct. - Approve one or more comments and confirm that the tabs work correctly to switch views. Signed-off-by: Sukhmandeep Benipal <sukhmandeep.benipal@inLibro.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
397e06ccd7
commit
14f9318557
|
|
@ -51,19 +51,19 @@
|
|||
<!-- The manual invoice and credit buttons -->
|
||||
<div class="toptabs">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
[% IF ( status ) %]
|
||||
<li role="presentation" class="active">
|
||||
[% ELSE %]
|
||||
<li role="presentation">
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/reviews/reviewswaiting.pl?status=1">Approved comments</a>
|
||||
<li role="presentation" class="nav-item">
|
||||
[% IF ( status ) %]
|
||||
<a class="nav-link active" href="/cgi-bin/koha/reviews/reviewswaiting.pl?status=1">Approved comments</a>
|
||||
[% ELSE %]
|
||||
<a class="nav-link" href="/cgi-bin/koha/reviews/reviewswaiting.pl?status=1">Approved comments</a>
|
||||
[% END %]
|
||||
</li>
|
||||
[% IF ( status ) %]
|
||||
<li role="presentation">
|
||||
[% ELSE %]
|
||||
<li role="presentation" class="active">
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/reviews/reviewswaiting.pl" >Comments awaiting moderation</a>
|
||||
<li role="presentation" class="nav-item">
|
||||
[% IF ( status ) %]
|
||||
<a class="nav-link" href="/cgi-bin/koha/reviews/reviewswaiting.pl" >Comments awaiting moderation</a>
|
||||
[% ELSE %]
|
||||
<a class="nav-link active" href="/cgi-bin/koha/reviews/reviewswaiting.pl" >Comments awaiting moderation</a>
|
||||
[% END %]
|
||||
</li>
|
||||
</ul> <!-- /.nav.nav-tabs -->
|
||||
<div class="tab-content">
|
||||
|
|
|
|||
Loading…
Reference in New Issue