Bug 23592: Link to the bibliographic record from the suggestion
If there is a link between a suggestion and a bibliographic record (ie. if suggestion.biblionumber is set), it makes sense to have an hyperlink on the suggestion detail page. Test plan: - Create 2 suggestions - Create an order from one of them - Go to the detail page of the suggestion => The one with the order has a to the bibliographic record => The other one is not linked with a bibliographic record, and so the title is displayed, without hyperlink Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
71d0775cc7
commit
ce14ab2bf8
1 changed files with 5 additions and 1 deletions
|
@ -65,7 +65,11 @@
|
||||||
[% IF ( title ) %]
|
[% IF ( title ) %]
|
||||||
<li>
|
<li>
|
||||||
<span class="label">Title:</span>
|
<span class="label">Title:</span>
|
||||||
|
[% IF suggestion.biblionumber %]
|
||||||
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% suggestion.biblionumber | uri %]">[% suggestion.title | html %]</a>
|
||||||
|
[% ELSE %]
|
||||||
[% title | html %]
|
[% title | html %]
|
||||||
|
[% END %]
|
||||||
</li>
|
</li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( author ) %]
|
[% IF ( author ) %]
|
||||||
|
|
Loading…
Reference in a new issue