##// END OF EJS Templates
fixed missing ) in safe unicode
marcink -
r1184:d4ced3a7 beta
parent child Browse files
Show More
@@ -1,97 +1,97 b''
1 1 <%inherit file="/base/base.html"/>
2 2
3 3 <%def name="title()">
4 4 ${c.repo_name} ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} - ${c.rhodecode_name}
5 5 </%def>
6 6
7 7 <%def name="breadcrumbs_links()">
8 8 ${h.link_to(u'Home',h.url('/'))}
9 9 &raquo;
10 10 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
11 11 &raquo;
12 12 ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)}
13 13 </%def>
14 14
15 15 <%def name="page_nav()">
16 16 ${self.menu('changelog')}
17 17 </%def>
18 18
19 19 <%def name="main()">
20 20 <div class="box">
21 21 <!-- box / title -->
22 22 <div class="title">
23 23 ${self.breadcrumbs()}
24 24 </div>
25 25 <div class="table">
26 26 <div id="body" class="diffblock">
27 27 <div class="code-header">
28 28 <div>
29 29 ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)}
30 30 <h3>${_('Compare View')}</h3>
31 31 ##&raquo; <span>${h.link_to(_('raw diff'),
32 32 ##h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='show'))}</span>
33 33 ##&raquo; <span>${h.link_to(_('download diff'),
34 34 ##h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='download'))}</span>
35 35 </div>
36 36 </div>
37 37 </div>
38 38 <div id="changeset_compare_view_content">
39 39 <div class="container">
40 40 <table class="compare_view_commits">
41 41 %for cs in c.cs_ranges:
42 42 <tr>
43 43 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),14)}"/></div></td>
44 44 <td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</td>
45 45 <td><div class="author">${h.person(cs.author)}</div></td>
46 46 <td><span class="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
47 47 <td><div class="message">${h.link_to(h.wrap_paragraphs(cs.message),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div></td>
48 48 </tr>
49 49 %endfor
50 50 </table>
51 51 </div>
52 52 <div style="font-size:1.1em;font-weight: bold;clear:both;padding-top:10px">${_('Files affected')}</div>
53 53 <div class="cs_files">
54 54 %for cs in c.cs_ranges:
55 55 <div class="cur_cs">r${cs}</div>
56 56 %for change,filenode,diff,cs1,cs2 in c.changes[cs.raw_id]:
57 57 <div class="cs_${change}">${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.repo_name_slug('C%s-%s' % (cs.short_id,h.safe_unicode(filenode.path)))))}</div>
58 58 %endfor
59 59 %endfor
60 60 </div>
61 61 </div>
62 62
63 63 </div>
64 64 %for cs in c.cs_ranges:
65 65 %for change,filenode,diff,cs1,cs2 in c.changes[cs.raw_id]:
66 66 %if change !='removed':
67 67 <div style="clear:both;height:10px"></div>
68 68 <div class="diffblock">
69 69 <div id="${h.repo_name_slug('C%s-%s' % (cs.short_id,h.safe_unicode(filenode.path)))}" class="code-header">
70 70 <div class="changeset_header">
71 71 <span class="changeset_file">
72 ${h.link_to_if(change!='removed',h.safe_unicode(filenode.path,h.url('files_home',repo_name=c.repo_name,
72 ${h.link_to_if(change!='removed',h.safe_unicode(filenode.path),h.url('files_home',repo_name=c.repo_name,
73 73 revision=filenode.changeset.raw_id,f_path=h.safe_unicode(filenode.path)))}
74 74 </span>
75 75 %if 1:
76 76 &raquo; <span>${h.link_to(_('diff'),
77 77 h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='diff'))}</span>
78 78 &raquo; <span>${h.link_to(_('raw diff'),
79 79 h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='raw'))}</span>
80 80 &raquo; <span>${h.link_to(_('download diff'),
81 81 h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='download'))}</span>
82 82 %endif
83 83 </div>
84 84 </div>
85 85 <div class="code-body">
86 86 %if diff:
87 87 ${diff|n}
88 88 %else:
89 89 ${_('No changes in this file')}
90 90 %endif
91 91 </div>
92 92 </div>
93 93 %endif
94 94 %endfor
95 95 %endfor
96 96 </div>
97 97 </%def> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now