##// END OF EJS Templates
templating fixes
marcink -
r375:3e55d998 default
parent child Browse files
Show More
@@ -104,6 +104,7 b' class FilesController(BaseController):'
104 c.file = cs.get_node(f_path)
104 c.file = cs.get_node(f_path)
105 c.file_msg = cs.get_file_message(f_path)
105 c.file_msg = cs.get_file_message(f_path)
106 c.cur_rev = cs.raw_id
106 c.cur_rev = cs.raw_id
107 c.rev_nr = cs.revision
107 c.f_path = f_path
108 c.f_path = f_path
108
109
109 return render('files/files_annotate.html')
110 return render('files/files_annotate.html')
@@ -3019,10 +3019,14 b' table.code-browser .browser-dir {'
3019 margin-left:3px;
3019 margin-left:3px;
3020 margin-righ:3px;
3020 margin-righ:3px;
3021 }
3021 }
3022 .info_box input {
3022 .info_box input#at_rev {
3023 padding:3px 6px;
3023 padding:1px 3px 3px 2px;
3024 }
3024 text-align:center;
3025
3025 }
3026 .info_box input#view {
3027 padding:0px 3px 2px 2px;
3028 text-align:center;
3029 }
3026 /* -----------------------------------------------------------
3030 /* -----------------------------------------------------------
3027 TOOLTIP
3031 TOOLTIP
3028 ----------------------------------------------------------- */
3032 ----------------------------------------------------------- */
@@ -19,7 +19,7 b''
19 ${self.breadcrumbs()}
19 ${self.breadcrumbs()}
20 <ul class="links">
20 <ul class="links">
21 <li>
21 <li>
22 <span>${h.link_to(u'ADD NEW REPO',h.url('new_repo'),class_="add_icon")}</span>
22 <span>${h.link_to(u'ADD NEW REPOSITORY',h.url('new_repo'),class_="add_icon")}</span>
23 </li>
23 </li>
24 </ul>
24 </ul>
25 </div>
25 </div>
@@ -9,7 +9,7 b''
9 &raquo;
9 &raquo;
10 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
10 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
11 &raquo;
11 &raquo;
12 ${_('annotate')}
12 ${_('annotate')} @ R${c.rev_nr}:${c.cur_rev}
13 </%def>
13 </%def>
14
14
15 <%def name="page_nav()">
15 <%def name="page_nav()">
@@ -25,7 +25,7 b''
25 <div id="files_data">
25 <div id="files_data">
26 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}</h2>
26 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}</h2>
27 <dl class="overview">
27 <dl class="overview">
28 <dt>${_('Revision')}</dt>
28 <dt>${_('Last revision')}</dt>
29 <dd>r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</dd>
29 <dd>r${c.file.last_changeset.revision}:${c.file.last_changeset._short}</dd>
30 <dt>${_('Size')}</dt>
30 <dt>${_('Size')}</dt>
31 <dd>${h.format_byte_size(c.file.size,binary=True)}</dd>
31 <dd>${h.format_byte_size(c.file.size,binary=True)}</dd>
@@ -30,7 +30,7 b''
30 ##%if h.HasPermissionAll('repository.create')():
30 ##%if h.HasPermissionAll('repository.create')():
31 <ul class="links">
31 <ul class="links">
32 <li>
32 <li>
33 <span>${h.link_to(u'ADD NEW REPO',h.url('new_repo'),class_="add_icon")}</span>
33 <span>${h.link_to(u'ADD NEW REPOSITORY',h.url('new_repo'),class_="add_icon")}</span>
34 </li>
34 </li>
35 </ul>
35 </ul>
36 ##%endif
36 ##%endif
General Comments 0
You need to be logged in to leave comments. Login now