Bugzilla – Attachment 14447 Details for
Bug 9075
Rename type to material type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 3.71 KB, created by
Marcel de Rooy
on 2013-01-07 12:33:15 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-01-07 12:33:15 UTC
Size:
3.71 KB
patch
obsolete
>From 4d451369599b7ef79efcf85cd47ef85edaec212d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 11 Apr 2011 11:46:44 +0200 >Subject: [PATCH] Bug 9075: Show material/item type on staff detail xslt >Content-Type: text/plain; charset="utf-8" > >Also removes item type (under title) from normal view without xslt in staff since it is shown in the table below. >--- > .../prog/en/modules/catalogue/detail.tt | 9 +++------ > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > 2 files changed, 4 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index cc68bfe..17288bc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -127,7 +127,6 @@ function verify_images() { > [% FOREACH subtitl IN subtitle %] > <h4>[% subtitl.subfield %]</h4> > [% END %] >- [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% description %]" title="[% description %]">[% END %] > [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %] > [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %] > <ul> >@@ -279,7 +278,7 @@ function verify_images() { > <table> > <thead> > <tr> >- [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %] >+ <th>Item type</th> > <th>Current location</th> > <th>Home Library</th> > [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %] >@@ -300,14 +299,12 @@ function verify_images() { > <tbody> > [% FOREACH item IN items %] > <tr> >- [% IF ( item_level_itypes ) %] >- <td class="itype"> >+ <td class="itype"> > [% IF !noItemTypeImages && item.imageurl %] > <img src="[% item.imageurl %]" alt="[% item.description %]" title="[% item.description %]" /> > [% END %] > [% item.description %] >- </td> >- [% END %] >+ </td> > <td class="location">[% UNLESS ( singlebranchmode ) %][% item.branchname %] [% END %]</td> > <td class="homebranch">[% item.homebranch %]<span class="shelvingloc">[% item.location %]</span> </td> > [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 24349e1..f7842e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -143,7 +143,7 @@ > <xsl:call-template name="showAuthor"><xsl:with-param name="authorfield" select="marc:datafield[@tag=700 or @tag=710 or @tag=711]"/><xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/></xsl:call-template> > > <xsl:if test="$materialTypeCode!=''"> >- <span class="results_summary type"><span class="label">Type: </span> >+ <span class="results_summary type"><span class="label">Material type: </span> > <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt"></xsl:attribute></xsl:element> > <xsl:text> </xsl:text> > <xsl:value-of select="$materialTypeLabel"/> >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9075
:
13448
|
14447
|
26787
|
26823
|
26824
|
26825
|
26826
|
26886
|
26887