Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
643:9dc1d92d82ed | 644:c8bd0e6cc3da |
---|---|
9 » | 9 » |
10 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} | 10 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} |
11 » | 11 » |
12 ${_('files')} | 12 ${_('files')} |
13 %if c.files_list: | 13 %if c.files_list: |
14 @ R${c.rev_nr}:${h.short_id(c.cur_rev)} | 14 @ r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} |
15 %endif | 15 %endif |
16 </%def> | 16 </%def> |
17 | 17 |
18 <%def name="page_nav()"> | 18 <%def name="page_nav()"> |
19 ${self.menu('files')} | 19 ${self.menu('files')} |
21 | 21 |
22 <%def name="main()"> | 22 <%def name="main()"> |
23 <div class="box"> | 23 <div class="box"> |
24 <!-- box / title --> | 24 <!-- box / title --> |
25 <div class="title"> | 25 <div class="title"> |
26 ${self.breadcrumbs()} | 26 ${self.breadcrumbs()} |
27 <ul class="links"> | |
28 <li> | |
29 <span style="text-transform: uppercase;"><a href="#">${_('branch')}: ${c.changeset.branch}</a></span> | |
30 </li> | |
31 </ul> | |
27 </div> | 32 </div> |
28 <div class="table"> | 33 <div class="table"> |
29 <div id="files_data"> | 34 <div id="files_data"> |
30 %if c.files_list: | 35 %if c.files_list: |
31 <h3 class="files_location">${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h3> | 36 <h3 class="files_location"> |
37 ${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.files_list.path)} | |
38 </h3> | |
32 %if c.files_list.is_dir(): | 39 %if c.files_list.is_dir(): |
33 <%include file='files_browser.html'/> | 40 <%include file='files_browser.html'/> |
34 %else: | 41 %else: |
35 <%include file='files_source.html'/> | 42 <%include file='files_source.html'/> |
36 %endif | 43 %endif |