##// END OF EJS Templates
merged with init scripts
marcink -
r427:dccf4b22 merge 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 }
@@ -3438,12 +3438,14 b' div#legend_container table,div#legend_ch'
3438
3438
3439 div#legend_container table td{
3439 div#legend_container table td{
3440 border: none !important;
3440 border: none !important;
3441 padding: 2px !important;
3441 padding: 0px !important;
3442 height: 20px !important;
3442 }
3443 }
3443
3444
3444 div#legend_choices table td{
3445 div#legend_choices table td{
3445 border: none !important;
3446 border: none !important;
3446 padding: 0px !important;
3447 padding: 0px !important;
3448 height: 20px !important;
3447 }
3449 }
3448
3450
3449 div#legend_choices{
3451 div#legend_choices{
@@ -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>
@@ -154,12 +154,17 b' E.onDOMReady(function(e){'
154
154
155 var inputs = choiceContainer.getElementsByTagName("input");
155 var inputs = choiceContainer.getElementsByTagName("input");
156 for(var i=0; i<inputs.length; i++) {
156 for(var i=0; i<inputs.length; i++) {
157 if(!inputs[i].checked)
158 continue;
159
160 var key = inputs[i].name;
157 var key = inputs[i].name;
161 if (key && datasets[key])
158 if (key && datasets[key]){
162 data.push(datasets[key]);
159 if(!inputs[i].checked){
160 data.push({label:key,data:[[0,1],]});
161 }
162 else{
163 data.push(datasets[key]);
164 }
165
166 }
167
163 };
168 };
164
169
165 if (data.length > 0){
170 if (data.length > 0){
General Comments 0
You need to be logged in to leave comments. Login now