merge function to use one template
Merge branch 'master' of https://github.com/cleochan/ticket