##// END OF EJS Templates
removed deprecated self.fid function
marcink -
r1777:910e3a0d beta
parent child Browse files
Show More
@@ -16,12 +16,6 b''
16 ${self.menu('changelog')}
16 ${self.menu('changelog')}
17 </%def>
17 </%def>
18
18
19 <%def name="fid(raw_id,path)" filter="strip">
20 <%
21 return 'C-%s-%s' % (h.short_id(raw_id),h.safeid(h.safe_unicode(path)))
22 %>
23 </%def>
24
25 <%def name="main()">
19 <%def name="main()">
26 <div class="box">
20 <div class="box">
27 <!-- box / title -->
21 <!-- box / title -->
@@ -56,7 +50,7 b''
56 %for cs in c.cs_ranges:
50 %for cs in c.cs_ranges:
57 <div class="cur_cs">r${cs}</div>
51 <div class="cur_cs">r${cs}</div>
58 %for change,filenode,diff,cs1,cs2,st in c.changes[cs.raw_id]:
52 %for change,filenode,diff,cs1,cs2,st in c.changes[cs.raw_id]:
59 <div class="cs_${change}">${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=self.fid(cs.raw_id,filenode.path)))}</div>
53 <div class="cs_${change}">${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID(cs.raw_id,filenode.path)))}</div>
60 %endfor
54 %endfor
61 %endfor
55 %endfor
62 </div>
56 </div>
@@ -68,7 +62,7 b''
68 %if change !='removed':
62 %if change !='removed':
69 <div style="clear:both;height:10px"></div>
63 <div style="clear:both;height:10px"></div>
70 <div class="diffblock margined">
64 <div class="diffblock margined">
71 <div id="${self.fid(cs.raw_id,filenode.path)}" class="code-header">
65 <div id="${h.FID(cs.raw_id,filenode.path)}" class="code-header">
72 <div class="changeset_header">
66 <div class="changeset_header">
73 <span class="changeset_file">
67 <span class="changeset_file">
74 ${h.link_to_if(change!='removed',h.safe_unicode(filenode.path),h.url('files_home',repo_name=c.repo_name,
68 ${h.link_to_if(change!='removed',h.safe_unicode(filenode.path),h.url('files_home',repo_name=c.repo_name,
General Comments 0
You need to be logged in to leave comments. Login now