mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-14 09:25:49 +01:00
Fix activity timeline.
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
case "fork" => shortActivity(activity, "activity-fork.png")
|
case "fork" => shortActivity(activity, "activity-fork.png")
|
||||||
case "push" => customActivity(activity, "activity-commit.png"){
|
case "push" => customActivity(activity, "activity-commit.png"){
|
||||||
<div class="small activity-message">
|
<div class="small activity-message">
|
||||||
{activity.additionalInfo.map { additionalInfo => additionalInfo.split("\n").reverse.take(4).zipWithIndex.map{ case (commit, i) =>
|
{activity.additionalInfo.get.split("\n").reverse.take(4).zipWithIndex.map{ case (commit, i) =>
|
||||||
if(i == 3){
|
if(i == 3){
|
||||||
<div>...</div>
|
<div>...</div>
|
||||||
} else {
|
} else {
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
<span>{commit.substring(41)}</span>
|
<span>{commit.substring(41)}</span>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
case "create_wiki" => customActivity(activity, "activity-wiki.png"){
|
case "create_wiki" => customActivity(activity, "activity-wiki.png"){
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
Reference in New Issue
Block a user