[OPEN-ILS-GENERAL] web client hold slip

Mike Rylander mrylander at gmail.com
Thu Mar 8 15:01:25 EST 2018


Hi Michael,

To follow up on what Terran said, I would recommend using transform
rather than -moz-transform, as the latter likely won't work in Chrome.
For more info:

https://www.w3schools.com/cssref/css3_pr_transform.asp

Thanks,

--
Mike Rylander
 | President
 | Equinox Open Library Initiative
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at equinoxinitiative.org
 | web:  http://equinoxinitiative.org


On Thu, Mar 8, 2018 at 2:40 PM, Terran McCanna
<tmccanna at georgialibraries.org> wrote:
> Hi Michael,
>
> Rotating text should work the same. It looks funky in the preview pane, but
> when printing it should be okay.
>
> Limiting the number of characters:
>
> {{checkout.title | limitTo:10}}   (limits to first 10 characters)
>
> {{patron.card.barcode | limitTo:-5}}   (limits to last 5 characters)
>
>
> Hold shelf slip - shelf expire date:
> {{hold.shelf_expire_time | date:'M/d/yyyy'}}
>
> I have written up documentation for our libraries you are welcome to refer
> to (I believe this is going to mostly be ported into the official
> documentation when someone gets a chance):
>
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipts
> and
> https://pines.georgialibraries.org/dokuwiki/doku.php?id=circ:workstations:receipt-content
>
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138
> tmccanna at georgialibraries.org
>
>
> On Thu, Mar 8, 2018 at 2:28 PM, Michael Schell <mschell at fepl.ca> wrote:
>>
>> Hi All,
>>
>> I'm trying to get my hold slips setup in the web client but have a few
>> questions. Does anyone know how to rotate text, limit the number of letters
>> displayed in a patron barcode/last name, or  what the code is for shelf
>> expire time. This is the code that worked in the desktop client for
>> reference.
>>
>> <style>
>> h1 {font-size:50px; -moz-transform:rotate(90deg);
>> text-transform:uppercase; padding-bottom:20px;padding-left:50px}
>> </style>
>>
>> Patron:%PATRON_FIRSTNAME% %PATRON_LASTNAME%<br/>
>> Title: %item_title%<br/>
>> <br/>
>>
>> Notify by phone: %notify_by_phone%<br/>
>> Notified by text: %notify_by_text%<br/>
>> Notified by email: %notify_by_email%<br/>
>> <br/>
>> - - - - - - -  TEAR HERE  - - - - - - -
>>
>> <br/>
>> <br/>
>> <br/>
>> <br/>
>>
>>
>>
>> <h1>%SUBSTR(0,3)%%PATRON_LASTNAME%%SUBSTR_END%&nbsp%SUBSTR(-4)%%PATRON_BARCODE%%SUBSTR_END%&nbsp%DATE_FORMAT(%shelf_expire_time%,%m/%d)%</h1>
>>
>> Any help would be appreciated.  Thanks.
>>
>> Michael
>>
>> --
>> Michael Schell
>> Systems Administrator
>> Fort Erie Public Library
>> 905-871-2546 x301
>> mschell at fepl.ca
>> www.fepl.ca
>
>


More information about the Open-ils-general mailing list