changeset 3583:e2447c586e1b beta

files edit/add is displayed with repo context menu
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 24 Mar 2013 22:09:50 +0100
parents 1f334a68d057
children 7afb704b0ac7
files rhodecode/templates/files/files_add.html rhodecode/templates/files/files_edit.html
diffstat 2 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/files/files_add.html	Sun Mar 24 22:01:31 2013 +0100
+++ b/rhodecode/templates/files/files_add.html	Sun Mar 24 22:09:50 2013 +0100
@@ -16,13 +16,11 @@
     &raquo;
     ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
     &raquo;
-    ${_('add file')} @ R${c.cs.revision}:${h.short_id(c.cs.raw_id)}
+    ${_('add file')} @ ${h.show_id(c.cs)}
 </%def>
 
-<%def name="page_nav()">
-    ${self.menu('files')}
-</%def>
 <%def name="main()">
+${self.context_bar('files')}
 <div class="box">
     <!-- box / title -->
     <div class="title">
--- a/rhodecode/templates/files/files_edit.html	Sun Mar 24 22:01:31 2013 +0100
+++ b/rhodecode/templates/files/files_edit.html	Sun Mar 24 22:09:50 2013 +0100
@@ -16,13 +16,11 @@
     &raquo;
     ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
     &raquo;
-    ${_('edit file')} @ R${c.cs.revision}:${h.short_id(c.cs.raw_id)}
+    ${_('edit file')} @ ${h.show_id(c.cs)}
 </%def>
 
-<%def name="page_nav()">
-    ${self.menu('files')}
-</%def>
 <%def name="main()">
+${self.context_bar('files')}
 <div class="box">
     <!-- box / title -->
     <div class="title">