comparison pylons_app/templates/files/files_source.html @ 128:9deb6f1d5b90

Implemented file history.
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 03 May 2010 21:59:01 +0200
parents
children 42d46deb124d
comparison
equal deleted inserted replaced
127:20dc7a5eb748 128:9deb6f1d5b90
1 <dl class="overview">
2 <dt>${_('Revision')}</dt>
3 <dd>r${c.files_list.changeset.revision}:${c.files_list.changeset._short}</dd>
4 <dt>${_('Size')}</dt>
5 <dd>${h.filesizeformat(c.files_list.size)}</dd>
6 <dt>${_('Options')}</dt>
7 <dd>history / annotate / raw </dd>
8 <dt>${_('History')}</dt>
9 <dd>
10 ${h.form(h.url.current())}
11 ${h.hidden('diff2',c.files_list.changeset._short)}
12 ${h.select('diff1','',c.file_history)}
13 ${h.submit('diff','diff')}
14 ${h.end_form()}
15 </dd>
16
17 </dl>
18 <div id="body" class="codeblock">
19 ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")}
20 </div>