X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fvirtualshelves%2Fshelves.tt;h=b054e093db857b7c1f8eb2a7390daddf7c30f21e;hb=0b0212cae3497f7746eb58a5397453c6e0173ba0;hp=d7a34a136db4123502e8f617eb32fa7742172ca9;hpb=c0234dd9b9649063acf2617fecf5c6efda38a532;p=koha_gimpoz diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index d7a34a136d..b054e093db 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -95,7 +95,7 @@ function placeHold () { var _alertString=""; var alertString2; - if(f.addshelf.value.length ==0){ + if($("#shelfname").val() == ""){ _alertString += _("- You must enter a List Name") + "\n"; } @@ -194,7 +194,7 @@ function placeHold () { [% END %] [% UNLESS ( item_level_itypes ) %] - [% UNLESS ( noItemTypeImages ) %][% itemsloo.description %][% END %][% itemsloo.description %] + [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %][% itemsloo.description %][% END %][% itemsloo.description %] [% END %] [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %] @@ -349,7 +349,7 @@ function placeHold () { List NameContentsSort byTypeOptions [% FOREACH shelveslooppri IN shelveslooppriv %] [% IF ( shelveslooppri.toggle ) %][% ELSE %][% END %] - [% shelveslooppri.shelfname |html %] + [% shelveslooppri.shelfname |html %] [% shelveslooppri.count %] item(s) [% IF ( shelveslooppri.authorsort ) %]Author[% ELSIF ( shelveslooppri.yearsort ) %]Year[% ELSE %]Title[% END %] [% IF ( shelveslooppri.viewcategory1 ) %]Private[% END %] @@ -399,10 +399,11 @@ function placeHold () { [% IF ( shelvesloop ) %]
[% pagination_bar %]
- + [% FOREACH shelvesloo IN shelvesloop %] [% IF ( shelvesloo.toggle ) %][% ELSE %][% END %] +
List NameContentsSort ByTypeOptions
List NameCreated byContentsSort ByTypeOptions
[% shelvesloo.shelfname |html %][% shelvesloo.ownername %] [% shelvesloo.count %] item(s) [% IF ( shelvesloo.authorsort ) %]Author[% ELSIF ( shelvesloo.yearsort ) %]Year[% ELSE %]Title[% END %] [% IF ( shelvesloo.viewcategory1 ) %]Private[% END %]