Mercurial > public > src > rhodecode
changeset 353:40b409af53a5
litle html updates for changeset
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 01 Jul 2010 21:23:32 +0200 |
parents | a9a6c74ad2a6 |
children | f5f290d68646 |
files | pylons_app/public/css/monoblue_custom.css pylons_app/templates/changeset/changeset.html |
diffstat | 2 files changed, 12 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/pylons_app/public/css/monoblue_custom.css Thu Jul 01 20:10:22 2010 +0200 +++ b/pylons_app/public/css/monoblue_custom.css Thu Jul 01 21:23:32 2010 +0200 @@ -677,8 +677,8 @@ /** end of file **/ /** changeset **/ #changeset_content { - width: 60%; - float: left; + border:1px solid #CCCCCC; + padding:5px; } #changeset_content .container .wrapper { @@ -686,7 +686,6 @@ } #changeset_content .container { - border: 1px solid #CCCCCC; height: 120px; } @@ -716,7 +715,7 @@ } .cs_files { - width: 60%; + } .cs_files .cs_added {
--- a/pylons_app/templates/changeset/changeset.html Thu Jul 01 20:10:22 2010 +0200 +++ b/pylons_app/templates/changeset/changeset.html Thu Jul 01 21:23:32 2010 +0200 @@ -25,9 +25,7 @@ <div class="left"> <div class="date">${_('Date')}: ${c.changeset.date}</div> <div class="author">${_('Author')}: ${c.changeset.author}</div> - <div class="message"> - ${h.wrap_paragraphs(c.changeset.message)} - </div> + <div class="message">${h.wrap_paragraphs(c.changeset.message)}</div> </div> <div class="right"> <span class="logtags"> @@ -48,16 +46,15 @@ </div> %endfor </div> - </div> + </div> + <span style="font-size:1.1em;font-weight: bold">${_('Files affected')}</span> + <div class="cs_files"> + %for change,filenode,diff,cs1,cs2 in c.changes: + <div class="cs_${change}">${h.link_to(filenode.path,h.url.current(anchor='CHANGE-%s'%filenode.path))}</div> + %endfor + </div> </div> - - <div style="clear:both;height:10px"></div> - <div class="cs_files"> - %for change,filenode,diff,cs1,cs2 in c.changes: - <div class="cs_${change}">${h.link_to(filenode.path,h.url.current(anchor='CHANGE-%s'%filenode.path))}</div> - %endfor - </div> - + %for change,filenode,diff,cs1,cs2 in c.changes: %if change !='removed': <div style="clear:both;height:10px"></div>