changeset 3761:087b50ef7e17 beta

changelog for file history shows that we're in different changelog view
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 15 Apr 2013 22:52:08 +0200
parents 6302a1423a4e
children f485eb78b519
files rhodecode/templates/changelog/changelog.html
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/changelog/changelog.html	Mon Apr 15 21:58:40 2013 +0200
+++ b/rhodecode/templates/changelog/changelog.html	Mon Apr 15 22:52:08 2013 +0200
@@ -3,12 +3,20 @@
 <%inherit file="/base/base.html"/>
 
 <%def name="title()">
-${_('%s Changelog') % c.repo_name} &middot; ${c.rhodecode_name}
+${_('%s Changelog') % c.repo_name} &middot;
+%if c.changelog_for_path:
+  /${c.changelog_for_path} &middot;
+%endif
+${c.rhodecode_name}
 </%def>
 
 <%def name="breadcrumbs_links()">
     <% size = c.size if c.size <= c.total_cs else c.total_cs %>
-    ${_('Changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)}
+    ${_('Changelog')}
+    %if c.changelog_for_path:
+     - /${c.changelog_for_path}
+    %endif
+    - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)}
 </%def>
 
 <%def name="page_nav()">