mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 08:25:50 +01:00
Fix commit list presentation.
This commit is contained in:
@@ -39,17 +39,19 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="commit-avatar-image">@avatar(commit.committer, 40)</div>
|
||||
<a href="@url(repository)/commit/@commit.id" class="commit-message" style="font-weight: bold;">@link(commit.summary, repository)</a>
|
||||
@if(commit.description.isDefined){
|
||||
<a href="javascript:void(0)" onclick="$('#description-@commit.id').toggle();" class="omit">...</a>
|
||||
}
|
||||
<br>
|
||||
@if(commit.description.isDefined){
|
||||
<pre id="description-@commit.id" style="display: none;" class="commit-description">@link(commit.description.get, repository)</pre>
|
||||
}
|
||||
<div class="small">
|
||||
<a href="@url(commit.committer)" class="username">@commit.committer</a>
|
||||
<span class="muted">@datetime(commit.time)</span>
|
||||
<div class="commit-message-box">
|
||||
<a href="@url(repository)/commit/@commit.id" class="commit-message" style="font-weight: bold;">@link(commit.summary, repository)</a>
|
||||
@if(commit.description.isDefined){
|
||||
<a href="javascript:void(0)" onclick="$('#description-@commit.id').toggle();" class="omit">...</a>
|
||||
}
|
||||
<br>
|
||||
@if(commit.description.isDefined){
|
||||
<pre id="description-@commit.id" style="display: none;" class="commit-description">@link(commit.description.get, repository)</pre>
|
||||
}
|
||||
<div class="small">
|
||||
<a href="@url(commit.committer)" class="username">@commit.committer</a>
|
||||
<span class="muted">@datetime(commit.time)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -335,6 +335,10 @@ div.commit-avatar-image {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
div.commit-message-box {
|
||||
margin-left: 42px;
|
||||
}
|
||||
|
||||
pre.commit-description {
|
||||
font-weight: normal;
|
||||
border: none;
|
||||
|
||||
Reference in New Issue
Block a user