port votedetail changes (#54)
port further changes to the badge template
Restore erroneously copied templates