make commit messages multiline

This commit is contained in:
Nihad Abbasov 2011-10-31 17:34:22 +04:00
parent ded7d08d70
commit 3e95a6d73b
2 changed files with 11 additions and 6 deletions

View file

@ -411,7 +411,7 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
text-shadow: #555 1px 1px;
}
/** FALSH **/
/** FLASH **/
#flash_container {
height:40px;
@ -700,3 +700,6 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
}
}
pre.commit_message {
white-space: pre-wrap;
}

View file

@ -16,7 +16,9 @@
%td= @commit.committed_date
%tr
%td Message
%td= @commit.safe_message
%td
%pre.commit_message
= preserve @commit.safe_message
%tr
%td Tree
%td= link_to 'Browse Code', tree_project_path(@project, :commit_id => @commit.id)