diff --git a/src/main/twirl/repo/commit.scala.html b/src/main/twirl/repo/commit.scala.html index a78677986..0d75061e2 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 @@ $(function(){ $(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 8d773bacd..6ee61cfd2 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -47,7 +47,7 @@ span.error { } .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 000000000..89e600ca2 Binary files /dev/null and b/src/main/webapp/assets/common/images/branch.png 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 000000000..9dd239f71 Binary files /dev/null and b/src/main/webapp/assets/common/images/tag.png differ