simplified templating of different share views