Some styling on it

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-11 13:34:48 +02:00
parent 7ca70bf7a3
commit f2dbb7f364
3 changed files with 16 additions and 3 deletions

View File

@@ -135,8 +135,12 @@ $(document).ready(function()
}).responseText;
git_info = $.parseJSON(git_info);
$("#latest-commit").html("Latest Commit: <br>" + git_info[0].commit.author.date.substring(0,10) + ": " + git_info[0].commit.author.name + "<br>" + git_info[0].sha.substring(0,10) + ": " + git_info[0].commit.message+"<br>");
$("#latest-commit").html("Latest Commit: <br>"
+ git_info[0].commit.author.date.substring(0,10)
+ ": " + git_info[0].commit.author.name
+ "<br><a href='"+git_info[0].html_url+"'>"
+ git_info[0].sha.substring(0,10) + "</a>: "
+ git_info[0].commit.message+"<br");
}
});