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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-4 / +18 lines)
Lines 113-119 Link Here
113
113
114
                        [% IF ( MY_TAGS ) %]
114
                        [% IF ( MY_TAGS ) %]
115
                        <form method="post" action="opac-tags.pl">
115
                        <form method="post" action="opac-tags.pl">
116
                            <h2>My Tags</h2>
116
                            <h2>Your tags</h2>
117
                            <table id="mytagst" class="table table-bordered table-striped">
117
                            <table id="mytagst" class="table table-bordered table-striped">
118
                                <thead><tr><th>Term</th><th>Title</th><th>Date added</th><th>Delete</th></tr></thead>
118
                                <thead><tr><th>Term</th><th>Title</th><th>Date added</th><th>Delete</th></tr></thead>
119
                                <tbody>
119
                                <tbody>
Lines 124-132 Link Here
124
                                                <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">
124
                                                <a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">
125
                                            [% MY_TAG.term |html %]</a></td>
125
                                            [% MY_TAG.term |html %]</a></td>
126
                                            <td>
126
                                            <td>
127
                                                <span class="tdlabel">Title:</span>
127
                                                [% IF ( MY_TAG.XSLTBloc ) %]
128
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
128
                                                    [% MY_TAG.XSLTBloc %]
129
                                                [% MY_TAG.title |html %][% IF ( MY_TAG.subtitle ) %][% FOREACH subtitle IN MY_TAG.subtitle %] [% subtitle.subfield |html %][% END %][% END %]</a> [% IF ( MY_TAG.author ) %]by [% MY_TAG.author %][% END %]</td>
129
                                                [% ELSE %]
130
                                                    <span class="tdlabel">Title:</span>
131
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
132
                                                        [% MY_TAG.title |html %]
133
                                                        [% IF ( MY_TAG.subtitle ) %]
134
                                                            [% FOREACH subtitle IN MY_TAG.subtitle %]
135
                                                                [% subtitle.subfield |html %]
136
                                                            [% END %]
137
                                                        [% END %]
138
                                                    </a>
139
                                                    [% IF ( MY_TAG.author ) %]
140
                                                        by [% MY_TAG.author %]
141
                                                    [% END %]
142
                                                [% END # /IF MY_TAG.XSLTBloc %]
143
                                            </td>
130
                                            <td>
144
                                            <td>
131
                                                <span title="[% MY_TAG.date_created %]">
145
                                                <span title="[% MY_TAG.date_created %]">
132
                                                    <span class="tdlabel">Date added:</span>
146
                                                    <span class="tdlabel">Date added:</span>
(-)a/opac/opac-tags.pl (-1 / +4 lines)
Lines 42-47 use C4::Output qw(:html :ajax pagination_bar); Link Here
42
use C4::Scrubber;
42
use C4::Scrubber;
43
use C4::Biblio;
43
use C4::Biblio;
44
use C4::Tags qw(add_tag get_approval_rows get_tag_rows remove_tag stratify_tags);
44
use C4::Tags qw(add_tag get_approval_rows get_tag_rows remove_tag stratify_tags);
45
use C4::XSLT;
45
46
46
use Data::Dumper;
47
use Data::Dumper;
47
48
Lines 232-237 if ($loggedinuser) { Link Here
232
        $_->{subtitle} = GetRecordValue( 'subtitle', $record, GetFrameworkCode( $_->{biblionumber} ) );
233
        $_->{subtitle} = GetRecordValue( 'subtitle', $record, GetFrameworkCode( $_->{biblionumber} ) );
233
        $_->{title} = $biblio->{title};
234
        $_->{title} = $biblio->{title};
234
        $_->{author} = $biblio->{author};
235
        $_->{author} = $biblio->{author};
236
        if (C4::Context->preference("OPACXSLTResultsDisplay")) {
237
            $_->{XSLTBloc} = XSLTParse4Display($_->{biblionumber}, $record, "OPACXSLTResultsDisplay");
238
        }
235
		my $date = $_->{date_created} || '';
239
		my $date = $_->{date_created} || '';
236
		$date =~ /\s+(\d{2}\:\d{2}\:\d{2})/;
240
		$date =~ /\s+(\d{2}\:\d{2}\:\d{2})/;
237
		$_->{time_created_display} = $1;
241
		$_->{time_created_display} = $1;
238
- 

Return to bug 13119