From 5686ee13b4540bfc0ce6c40f07b6e43c3c55e9a8 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Tue, 3 May 2016 21:49:52 -0400 Subject: Increased PHPGit timeout to 120 seconds for large repos. Retrieve Readme.md and render on plugins page. --- view/tpl/admin_plugins.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index e10cde81d..97759f817 100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -44,7 +44,16 @@ function(response) { $('#chat-rotator').spin(false); if (response.success) { - $('#new-repo-info').html('

Repo Info

The repo was cloned to
' + response.message + '

'); + $('#new-repo-info').html('

Repo Info

' + response.message + '

'); + + $('#new-repo-info').append('

Branches

'+JSON.stringify(response.repo.branches)+'

'); + $('#new-repo-info').append('

URL

'+response.repo.url+'

'); + $('#new-repo-info').append('

Objects

'); + $('#new-repo-info').append('

Readme

'+response.repo.readme+'

'); } else { window.console.log('Error adding repo :' + response['message']); } -- cgit v1.2.3