From 4702d69868563aa57dfc7adc71bcac057b69ef73 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 08 2017 16:14:46 +0000 Subject: Include the upstream's url next to the project's description on the overview Fixes https://pagure.io/pagure-dist-git/issue/9 Signed-off-by: Pierre-Yves Chibon --- diff --git a/template/repo_info.html b/template/repo_info.html index 4a802f4..4f05c0f 100644 --- a/template/repo_info.html +++ b/template/repo_info.html @@ -341,6 +341,13 @@ $(document).ready(function() { dataType: 'jsonp', success: function(res) { $( "#pkgdescription" ).text(res['description']); + if (res['url']){ + var _p = $('.projectinfo'); + $('.projectinfo').html( + _p.html() + + ' (upstream)') + } } }); });