View | Details | Raw Unified | Return to bug 7084
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt (-3 / +4 lines)
Lines 478-487 $(document).ready(function(){ Link Here
478
478
479
				[% END %]
479
				[% END %]
480
				[% IF ( LibraryThingForLibrariesID ) %]<div class="ltfl_reviews"></div>[% END %]
480
				[% IF ( LibraryThingForLibrariesID ) %]<div class="ltfl_reviews"></div>[% END %]
481
				<div class="results_summary">
482
481
				[% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]
483
				[% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]
482
                                [% IF ( TagsShowOnList ) %]
484
                                [% IF ( TagsShowOnList ) %]
483
                                [% IF ( SEARCH_RESULT.TagLoop.size ) %]
485
                                [% IF ( SEARCH_RESULT.TagLoop.size ) %]
484
                                    <div class="results_summary">
485
                                        <span class="label">Tags:</span>
486
                                        <span class="label">Tags:</span>
486
                                        <ul style="display: inline; list-style: none;">[% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]<li style="display: inline; list-style: none;"><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span></li>
487
                                        <ul style="display: inline; list-style: none;">[% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]<li style="display: inline; list-style: none;"><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&amp;q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span></li>
487
                                            [% END %]
488
                                            [% END %]
Lines 490-502 $(document).ready(function(){ Link Here
490
                                [% IF ( TagsInputOnList ) %]
491
                                [% IF ( TagsInputOnList ) %]
491
                                    [% IF ( loggedinusername ) %]
492
                                    [% IF ( loggedinusername ) %]
492
                                    <form name="tagform[% SEARCH_RESULT.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl">
493
                                    <form name="tagform[% SEARCH_RESULT.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl">
493
                                        <label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag:</label>
494
					<span class="label">New tag:</span>
494
                                        <input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" />
495
                                        <input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" />
495
                                        <input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
496
                                        <input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
496
                                    </form>
497
                                    </form>
497
                                    <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
498
                                    <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
498
                                        Tag status here.
499
                                        Tag status here.
499
                                    </span>
500
                                    </span>
501
				</div>
500
                                       [% ELSIF ( loop.first ) %]<span class="tagstatus" id="login4tags">Log in to add tags.</span>
502
                                       [% ELSIF ( loop.first ) %]<span class="tagstatus" id="login4tags">Log in to add tags.</span>
501
                                    [% END %]
503
                                    [% END %]
502
                                [% END %]
504
                                [% END %]
503
- 

Return to bug 7084