diff --git a/pylons_app/templates/files/files_source.html b/pylons_app/templates/files/files_source.html new file mode 100644 --- /dev/null +++ b/pylons_app/templates/files/files_source.html @@ -0,0 +1,20 @@ +
+
${_('Revision')}
+
r${c.files_list.changeset.revision}:${c.files_list.changeset._short}
+
${_('Size')}
+
${h.filesizeformat(c.files_list.size)}
+
${_('Options')}
+
history / annotate / raw
+
${_('History')}
+
+ ${h.form(h.url.current())} + ${h.hidden('diff2',c.files_list.changeset._short)} + ${h.select('diff1','',c.file_history)} + ${h.submit('diff','diff')} + ${h.end_form()} +
+ +
+
+ ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")} +
\ No newline at end of file