Mercurial > kallithea
diff rhodecode/templates/files/files.html @ 644:c8bd0e6cc3da beta
some changes for #45.
Added warning messages for browsing wrong cs/paths
Cleanup of codes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 02 Nov 2010 23:28:37 +0100 |
parents | ffd07396d315 |
children | 623b228cf325 |
line wrap: on
line diff
--- a/rhodecode/templates/files/files.html Tue Nov 02 22:26:50 2010 +0100 +++ b/rhodecode/templates/files/files.html Tue Nov 02 23:28:37 2010 +0100 @@ -11,7 +11,7 @@ » ${_('files')} %if c.files_list: - @ R${c.rev_nr}:${h.short_id(c.cur_rev)} + @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} %endif </%def> @@ -23,12 +23,19 @@ <div class="box"> <!-- box / title --> <div class="title"> - ${self.breadcrumbs()} + ${self.breadcrumbs()} + <ul class="links"> + <li> + <span style="text-transform: uppercase;"><a href="#">${_('branch')}: ${c.changeset.branch}</a></span> + </li> + </ul> </div> <div class="table"> <div id="files_data"> %if c.files_list: - <h3 class="files_location">${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h3> + <h3 class="files_location"> + ${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.files_list.path)} + </h3> %if c.files_list.is_dir(): <%include file='files_browser.html'/> %else: