Changeset - cbfb853a0a4c
[Not reviewed]
default
0 3 0
Marcin Kuzminski - 15 years ago 2010-08-23 21:39:17
marcin@python-works.com
fixed bug when author had " in name, thus breaking the javascript data format
small fix to css for commit messages, and fixed a bug when message had some special chars that caused unicodeDecode error
3 files changed with 7 insertions and 4 deletions:
0 comments (0 inline, 0 general)
pylons_app/controllers/summary.py
Show inline comments
 
@@ -84,6 +84,7 @@ class SummaryController(BaseController):
 
        
 
        def author_key_cleaner(k):
 
            k = person(k)
 
            k = k.replace('"', "'") #for js data compatibilty
 
            return k
 
                
 
        for cs in repo:
pylons_app/public/css/style.css
Show inline comments
 
@@ -1039,8 +1039,8 @@ div.options a:hover
 
 
#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;
 
}
pylons_app/templates/changelog/changelog.html
Show inline comments
 
## -*- 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>				
0 comments (0 inline, 0 general)