# HG changeset patch # User Marcin Kuzminski # Date 1280353086 -7200 # Node ID 3e55d9981c0e1b19fbce521367280fa8949b1e70 # Parent 6725742f029a5530da1d8ae879adabfdc3d5f317 templating fixes diff -r 6725742f029a -r 3e55d9981c0e pylons_app/controllers/files.py --- a/pylons_app/controllers/files.py Wed Jul 28 20:10:39 2010 +0200 +++ b/pylons_app/controllers/files.py Wed Jul 28 23:38:06 2010 +0200 @@ -104,6 +104,7 @@ 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 -r 6725742f029a -r 3e55d9981c0e pylons_app/public/css/style.css --- a/pylons_app/public/css/style.css Wed Jul 28 20:10:39 2010 +0200 +++ b/pylons_app/public/css/style.css Wed Jul 28 23:38:06 2010 +0200 @@ -3019,10 +3019,14 @@ 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 -r 6725742f029a -r 3e55d9981c0e pylons_app/templates/admin/repos/repos.html --- a/pylons_app/templates/admin/repos/repos.html Wed Jul 28 20:10:39 2010 +0200 +++ b/pylons_app/templates/admin/repos/repos.html Wed Jul 28 23:38:06 2010 +0200 @@ -19,7 +19,7 @@ ${self.breadcrumbs()} diff -r 6725742f029a -r 3e55d9981c0e pylons_app/templates/files/files_annotate.html --- a/pylons_app/templates/files/files_annotate.html Wed Jul 28 20:10:39 2010 +0200 +++ b/pylons_app/templates/files/files_annotate.html Wed Jul 28 23:38:06 2010 +0200 @@ -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 -r 6725742f029a -r 3e55d9981c0e pylons_app/templates/index.html --- a/pylons_app/templates/index.html Wed Jul 28 20:10:39 2010 +0200 +++ b/pylons_app/templates/index.html Wed Jul 28 23:38:06 2010 +0200 @@ -30,7 +30,7 @@ ##%if h.HasPermissionAll('repository.create')(): ##%endif