]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/html/button
removing old opac images and css
[working/Evergreen.git] / Open-ILS / src / templates / html / button
1 [%# html/button: simple text button with a link like "[ this ]"
2   # ARGS:
3   #     text        # button text
4   #     link        # button link url
5   #     select      # flag to select item (set bold)
6   #     left        # flag to add left arrow head (e.g. prev. item)
7   #     right       # flag to add right arrow head (e.g. next item)
8 %]
9 [%- '<-' IF left %]
10 [%- select ? '[<b>' : '[' -%]
11 &nbsp;
12 [%- IF link %]<a href="[% link %]">[% END %]
13 [%- text | replace('\s', '&nbsp;') %]
14 [%- IF link %]</a>[% END -%]
15 &nbsp;
16 [%- select ? '</b>]' : ']' %]
17 [%- '-&gt;' IF right -%]