##// END OF EJS Templates
fixed bug when author had " in name, thus breaking the javascript data format...
marcink -
r421:cbfb853a default
parent child Browse files
Show More
@@ -84,6 +84,7 b' class SummaryController(BaseController):'
84
84
85 def author_key_cleaner(k):
85 def author_key_cleaner(k):
86 k = person(k)
86 k = person(k)
87 k = k.replace('"', "'") #for js data compatibilty
87 return k
88 return k
88
89
89 for cs in repo:
90 for cs in repo:
@@ -1039,8 +1039,8 b' div.options a:hover'
1039
1039
1040 #content div.box div.message
1040 #content div.box div.message
1041 {
1041 {
1042 margin: 0 0 10px 0;
1042 margin: 0 0 0px 0;
1043 padding: 0;
1043 padding: 0 0 10px 0;
1044 clear: both;
1044 clear: both;
1045 overflow: hidden;
1045 overflow: hidden;
1046 }
1046 }
@@ -1,3 +1,5 b''
1 ## -*- coding: utf-8 -*-
2
1 <%inherit file="/base/base.html"/>
3 <%inherit file="/base/base.html"/>
2
4
3 <%def name="title()">
5 <%def name="title()">
@@ -59,7 +61,7 b''
59 <span><a href="mailto:${h.email_or_none(cs.author)}">${h.email_or_none(cs.author)}</a></span><br/>
61 <span><a href="mailto:${h.email_or_none(cs.author)}">${h.email_or_none(cs.author)}</a></span><br/>
60 </div>
62 </div>
61 <div class="message">
63 <div class="message">
62 ${h.link_to(h.wrap_paragraphs(cs.message),
64 ${h.link_to(h.wrap_paragraphs(cs.message.decode('utf-8','replace')),
63 h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
65 h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
64 </div>
66 </div>
65 </div>
67 </div>
@@ -76,7 +78,7 b''
76 %endif
78 %endif
77 %for p_cs in reversed(cs.parents):
79 %for p_cs in reversed(cs.parents):
78 <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.raw_id,
80 <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.raw_id,
79 h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}
81 h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message.decode('utf-8','replace'))}
80 </div>
82 </div>
81 %endfor
83 %endfor
82 </div>
84 </div>
General Comments 0
You need to be logged in to leave comments. Login now