diff --git a/src/main/twirl/repo/commit.scala.html b/src/main/twirl/repo/commit.scala.html
index a786779..0d75061 100644
--- a/src/main/twirl/repo/commit.scala.html
+++ b/src/main/twirl/repo/commit.scala.html
@@ -16,16 +16,16 @@
@if(commit.description.isDefined){
@commit.description.get
}
- @*
- @branchs.map { branch => @branch }.mkHtml(", ")
+
+ @branchs.map { branch => @branch }
- @tags.map { tag => @tag }.mkHtml(", ")
+
+ @tags.map { tag => @tag }
- *@
@@ -97,5 +97,14 @@
$(this).val('Show file list');
}
});
+ $('a.branch:first, a.tag:first').css({
+ 'font-weight': 'bold',
+ 'color': '#555555'
+ });
});
+
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css
index 8d773ba..6ee61cf 100644
--- a/src/main/webapp/assets/common/css/gitbucket.css
+++ b/src/main/webapp/assets/common/css/gitbucket.css
@@ -47,7 +47,7 @@
}
.small {
- font-size: small;
+ font-size: 85%;
}
a.commit-message, a.commit-id, a.committer {
diff --git a/src/main/webapp/assets/common/images/branch.png b/src/main/webapp/assets/common/images/branch.png
new file mode 100644
index 0000000..89e600c
--- /dev/null
+++ b/src/main/webapp/assets/common/images/branch.png
Binary files differ
diff --git a/src/main/webapp/assets/common/images/tag.png b/src/main/webapp/assets/common/images/tag.png
new file mode 100644
index 0000000..9dd239f
--- /dev/null
+++ b/src/main/webapp/assets/common/images/tag.png
Binary files differ