Skip to content

Commit

Permalink
Show current revisions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Mar 4, 2013
1 parent adccdd3 commit 4b5051c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
12 changes: 12 additions & 0 deletions lib/hdo/webhook_deployer/public/js/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$(document).ready(function() {
$('*[data-host]').each(function() {
$.ajax({
url: "http://" + $(this).data('host') + '/info/revision',
type: "GET",

success: function(text) {
$(this).html('<a href="https://github.com/holderdeord/hdo-site/commits/' + text + '">' + text + "</a>");
},
});
})
});
Loading

0 comments on commit 4b5051c

Please sign in to comment.