diff --git a/pylons_app/controllers/files.py b/pylons_app/controllers/files.py --- a/pylons_app/controllers/files.py +++ b/pylons_app/controllers/files.py @@ -104,6 +104,7 @@ class FilesController(BaseController): c.file = cs.get_node(f_path) c.file_msg = cs.get_file_message(f_path) c.cur_rev = cs.raw_id + c.rev_nr = cs.revision c.f_path = f_path return render('files/files_annotate.html') diff --git a/pylons_app/public/css/style.css b/pylons_app/public/css/style.css --- a/pylons_app/public/css/style.css +++ b/pylons_app/public/css/style.css @@ -3019,10 +3019,14 @@ table.code-browser .browser-dir { margin-left:3px; margin-righ:3px; } -.info_box input { - padding:3px 6px; -} - +.info_box input#at_rev { + padding:1px 3px 3px 2px; + text-align:center; +} +.info_box input#view { + padding:0px 3px 2px 2px; + text-align:center; +} /* ----------------------------------------------------------- TOOLTIP ----------------------------------------------------------- */ diff --git a/pylons_app/templates/admin/repos/repos.html b/pylons_app/templates/admin/repos/repos.html --- a/pylons_app/templates/admin/repos/repos.html +++ b/pylons_app/templates/admin/repos/repos.html @@ -19,7 +19,7 @@ ${self.breadcrumbs()} diff --git a/pylons_app/templates/files/files_annotate.html b/pylons_app/templates/files/files_annotate.html --- a/pylons_app/templates/files/files_annotate.html +++ b/pylons_app/templates/files/files_annotate.html @@ -9,7 +9,7 @@ » ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} » - ${_('annotate')} + ${_('annotate')} @ R${c.rev_nr}:${c.cur_rev} <%def name="page_nav()"> @@ -25,7 +25,7 @@

${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}

-
${_('Revision')}
+
${_('Last revision')}
r${c.file.last_changeset.revision}:${c.file.last_changeset._short}
${_('Size')}
${h.format_byte_size(c.file.size,binary=True)}
diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -30,7 +30,7 @@ ##%if h.HasPermissionAll('repository.create')(): ##%endif