diff --git a/pylons_app/templates/files/files_source.html b/pylons_app/templates/files/files_source.html --- a/pylons_app/templates/files/files_source.html +++ b/pylons_app/templates/files/files_source.html @@ -1,14 +1,14 @@
${_('Revision')}
-
r${c.files_list.changeset.revision}:${c.files_list.changeset._short}
+
r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset._short}
${_('Size')}
${h.filesizeformat(c.files_list.size)}
${_('Options')}
-
history / annotate / raw
+
${h.link_to(_('annotate'),h.url('#'))} / ${h.link_to(_('raw'),h.url('#'))}
${_('History')}
${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='GET')} - ${h.hidden('diff2',c.files_list.changeset._short)} + ${h.hidden('diff2',c.files_list.last_changeset._short)} ${h.select('diff1','',c.file_history)} ${h.submit('diff','diff')} ${h.end_form()} @@ -16,5 +16,10 @@
- ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")} +
+ ${c.files_list.name}@r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset._short} +
+
+ ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")} +
\ No newline at end of file