FIX Ticket #8318 Append the HTML used for expanding/collapsing the site ...

...tree column in template instead of creating it on the fly with js