Mercurial > kallithea
comparison pylons_app/templates/changelog/changelog.html @ 421:cbfb853a0a4c
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
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 23 Aug 2010 21:39:17 +0200 |
parents | b1debb6c5a09 |
children | dee0e7eb0370 |
comparison
equal
deleted
inserted
replaced
420:a6000c18a8db | 421:cbfb853a0a4c |
---|---|
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()"> |
4 ${_('Changelog - %s') % c.repo_name} | 6 ${_('Changelog - %s') % c.repo_name} |
5 </%def> | 7 </%def> |
57 </div> | 59 </div> |
58 <span>${h.person(cs.author)}</span><br/> | 60 <span>${h.person(cs.author)}</span><br/> |
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> |
66 <div class="right"> | 68 <div class="right"> |
67 <div class="changes"> | 69 <div class="changes"> |
74 ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/> | 76 ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/> |
75 </div> | 77 </div> |
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> |
83 </div> | 85 </div> |
84 | 86 |