Fix commit list presentation.

This commit is contained in:
takezoe
2013-07-12 04:34:54 +09:00
parent bd1ba67647
commit 71a3d79c82
2 changed files with 17 additions and 11 deletions

View File

@@ -39,6 +39,7 @@
</div> </div>
<div> <div>
<div class="commit-avatar-image">@avatar(commit.committer, 40)</div> <div class="commit-avatar-image">@avatar(commit.committer, 40)</div>
<div class="commit-message-box">
<a href="@url(repository)/commit/@commit.id" class="commit-message" style="font-weight: bold;">@link(commit.summary, repository)</a> <a href="@url(repository)/commit/@commit.id" class="commit-message" style="font-weight: bold;">@link(commit.summary, repository)</a>
@if(commit.description.isDefined){ @if(commit.description.isDefined){
<a href="javascript:void(0)" onclick="$('#description-@commit.id').toggle();" class="omit">...</a> <a href="javascript:void(0)" onclick="$('#description-@commit.id').toggle();" class="omit">...</a>
@@ -52,6 +53,7 @@
<span class="muted">@datetime(commit.time)</span> <span class="muted">@datetime(commit.time)</span>
</div> </div>
</div> </div>
</div>
</td> </td>
</tr> </tr>
} }

View File

@@ -335,6 +335,10 @@ div.commit-avatar-image {
margin-right: 4px; margin-right: 4px;
} }
div.commit-message-box {
margin-left: 42px;
}
pre.commit-description { pre.commit-description {
font-weight: normal; font-weight: normal;
border: none; border: none;