Make the conditional in the renderer/layout file calling the template which creates a variable to pass to the template.
General developer forum
is_admin check for template
This discussion has been locked so you can no longer reply to it.