review/files.py @ 24f0d81f3aa5

web: pull the forms into separate templates

The changeset.html was getting pretty hairy until this change.
author Steve Losh <steve@stevelosh.com>
date Fri, 18 Jun 2010 22:36:26 -0400
parents 9af83b8976fb
children (none)
"""Templates for hg-review's data files."""

COMMENT_FILE_TEMPLATE = """\
author:%s
hgdate:%s
node:%s
filename:%s
lines:%s
style:%s

%s"""

SIGNOFF_FILE_TEMPLATE = """\
author:%s
hgdate:%s
node:%s
opinion:%s
style:%s

%s"""