##// END OF EJS Templates
files: fixed branch icon for SVN...
dan -
r3755:2e97cecb new-ui
parent child Browse files
Show More
@@ -0,0 +1,9 b''
1 <%namespace name="sourceblock" file="/codeblocks/source.mako"/>
2
3 <%def name="render_lines(lines)">
4 <table class="cb codehilite">
5 %for line_num, tokens in enumerate(lines, 1):
6 ${sourceblock.render_line(line_num, tokens)}
7 %endfor
8 </table>
9 </%def>
@@ -23,7 +23,11 b''
23 23
24 24 <div class="edit-file-title">
25 25 <span class="title-heading">${_('Add new file')} @ <code>${h.show_id(c.commit)}</code></span>
26 <span class="tag branchtag"><i class="icon-branch"></i> ${c.commit.branch}</span>
26 % if c.commit.branch:
27 <span class="tag branchtag">
28 <i class="icon-branch"></i> ${c.commit.branch}
29 </span>
30 % endif
27 31 </div>
28 32
29 33 ${h.secure_form(h.route_path('repo_files_create_file', repo_name=c.repo_name, commit_id=c.commit.raw_id, f_path=c.f_path), id='eform', request=request)}
@@ -23,7 +23,11 b''
23 23
24 24 <div class="edit-file-title">
25 25 <span class="title-heading">${_('Delete file')} @ <code>${h.show_id(c.commit)}</code></span>
26 <span class="tag branchtag"><i class="icon-branch"></i> ${c.commit.branch}</span>
26 % if c.commit.branch:
27 <span class="tag branchtag">
28 <i class="icon-branch"></i> ${c.commit.branch}
29 </span>
30 % endif
27 31 </div>
28 32
29 33 ${h.secure_form(h.route_path('repo_files_delete_file', repo_name=c.repo_name, commit_id=c.commit.raw_id, f_path=c.f_path), id='eform', request=request)}
@@ -23,7 +23,11 b''
23 23
24 24 <div class="edit-file-title">
25 25 <span class="title-heading">${_('Edit file')} @ <code>${h.show_id(c.commit)}</code></span>
26 <span class="tag branchtag"><i class="icon-branch"></i> ${c.commit.branch}</span>
26 % if c.commit.branch:
27 <span class="tag branchtag">
28 <i class="icon-branch"></i> ${c.commit.branch}
29 </span>
30 % endif
27 31 </div>
28 32
29 33 ${h.secure_form(h.route_path('repo_files_update_file', repo_name=c.repo_name, commit_id=c.commit.raw_id, f_path=c.f_path), id='eform', request=request)}
@@ -50,7 +50,11 b''
50 50
51 51 <div class="edit-file-title">
52 52 <span class="title-heading">${_('Upload new file')} @ <code>${h.show_id(c.commit)}</code></span>
53 <span class="tag branchtag"><i class="icon-branch"></i> ${c.commit.branch}</span>
53 % if c.commit.branch:
54 <span class="tag branchtag">
55 <i class="icon-branch"></i> ${c.commit.branch}
56 </span>
57 % endif
54 58 </div>
55 59
56 60 <% form_url = h.route_path('repo_files_upload_file', repo_name=c.repo_name, commit_id=c.commit.raw_id, f_path=c.f_path) %>
General Comments 0
You need to be logged in to leave comments. Login now