Mercurial > kallithea
changeset 427:dccf4b2226ec
merged with init scripts
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 26 Aug 2010 17:29:26 +0200 |
parents | 17d5028e055c (current diff) 570b9e82cbac (diff) |
children | dee0e7eb0370 41504f4aa96b |
files | |
diffstat | 4 files changed, 20 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/controllers/summary.py Thu Aug 26 17:28:11 2010 +0200 +++ b/pylons_app/controllers/summary.py Thu Aug 26 17:29:26 2010 +0200 @@ -84,6 +84,7 @@ def author_key_cleaner(k): k = person(k) + k = k.replace('"', "'") #for js data compatibilty return k for cs in repo:
--- a/pylons_app/public/css/style.css Thu Aug 26 17:28:11 2010 +0200 +++ b/pylons_app/public/css/style.css Thu Aug 26 17:29:26 2010 +0200 @@ -1039,8 +1039,8 @@ #content div.box div.message { - margin: 0 0 10px 0; - padding: 0; + margin: 0 0 0px 0; + padding: 0 0 10px 0; clear: both; overflow: hidden; } @@ -3438,12 +3438,14 @@ div#legend_container table td{ border: none !important; - padding: 2px !important; + padding: 0px !important; + height: 20px !important; } div#legend_choices table td{ border: none !important; padding: 0px !important; + height: 20px !important; } div#legend_choices{
--- a/pylons_app/templates/changelog/changelog.html Thu Aug 26 17:28:11 2010 +0200 +++ b/pylons_app/templates/changelog/changelog.html Thu Aug 26 17:29:26 2010 +0200 @@ -1,3 +1,5 @@ +## -*- coding: utf-8 -*- + <%inherit file="/base/base.html"/> <%def name="title()"> @@ -59,7 +61,7 @@ <span><a href="mailto:${h.email_or_none(cs.author)}">${h.email_or_none(cs.author)}</a></span><br/> </div> <div class="message"> - ${h.link_to(h.wrap_paragraphs(cs.message), + ${h.link_to(h.wrap_paragraphs(cs.message.decode('utf-8','replace')), h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} </div> </div> @@ -76,7 +78,7 @@ %endif %for p_cs in reversed(cs.parents): <div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.raw_id, - h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} + h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message.decode('utf-8','replace'))} </div> %endfor </div>
--- a/pylons_app/templates/summary/summary.html Thu Aug 26 17:28:11 2010 +0200 +++ b/pylons_app/templates/summary/summary.html Thu Aug 26 17:29:26 2010 +0200 @@ -154,12 +154,17 @@ var inputs = choiceContainer.getElementsByTagName("input"); for(var i=0; i<inputs.length; i++) { - if(!inputs[i].checked) - continue; - var key = inputs[i].name; - if (key && datasets[key]) - data.push(datasets[key]); + if (key && datasets[key]){ + if(!inputs[i].checked){ + data.push({label:key,data:[[0,1],]}); + } + else{ + data.push(datasets[key]); + } + + } + }; if (data.length > 0){