Show More
@@ -16,12 +16,6 b'' | |||
|
16 | 16 | ${self.menu('changelog')} |
|
17 | 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 | 19 | <%def name="main()"> |
|
26 | 20 | <div class="box"> |
|
27 | 21 | <!-- box / title --> |
@@ -56,7 +50,7 b'' | |||
|
56 | 50 | %for cs in c.cs_ranges: |
|
57 | 51 | <div class="cur_cs">r${cs}</div> |
|
58 | 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= |
|
|
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 | 54 | %endfor |
|
61 | 55 | %endfor |
|
62 | 56 | </div> |
@@ -68,7 +62,7 b'' | |||
|
68 | 62 | %if change !='removed': |
|
69 | 63 | <div style="clear:both;height:10px"></div> |
|
70 | 64 | <div class="diffblock margined"> |
|
71 |
<div id="${ |
|
|
65 | <div id="${h.FID(cs.raw_id,filenode.path)}" class="code-header"> | |
|
72 | 66 | <div class="changeset_header"> |
|
73 | 67 | <span class="changeset_file"> |
|
74 | 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