mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 14:05:52 +01:00
Small fix about icons
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
case "create_tag" => simpleActivity(activity, "tag")
|
case "create_tag" => simpleActivity(activity, "tag")
|
||||||
case "delete_tag" => simpleActivity(activity, "circle-slash")
|
case "delete_tag" => simpleActivity(activity, "circle-slash")
|
||||||
case "fork" => simpleActivity(activity, "repo-forked")
|
case "fork" => simpleActivity(activity, "repo-forked")
|
||||||
case "push" => customActivity(activity, "repo-push"){
|
case "push" => customActivity(activity, "git-commit"){
|
||||||
<div class="small activity-message">
|
<div class="small activity-message">
|
||||||
{activity.additionalInfo.get.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){
|
||||||
|
|||||||
@@ -22,13 +22,6 @@
|
|||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
|
|
||||||
@sidemenuPlugin(path: String, name: String, label: String, icon: String) = {
|
|
||||||
<li @if(active == name){class="active"}>
|
|
||||||
<div class="@if(active == name){margin} else {gradient} pull-left"></div>
|
|
||||||
<a href="@url(repository)@path"><img src="@icon"/>@if(expand){ @label}</a>
|
|
||||||
</li>
|
|
||||||
}
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@helper.html.information(info)
|
@helper.html.information(info)
|
||||||
@helper.html.error(error)
|
@helper.html.error(error)
|
||||||
|
|||||||
Reference in New Issue
Block a user