4702d69
@@ -341,6 +341,13 @@
dataType: 'jsonp',
success: function(res) {
$( "#pkgdescription" ).text(res['description']);
+ if (res['url']){
+ var _p = $('.projectinfo');
+ $('.projectinfo').html(
+ _p.html()
+ + ' (<a target="_blank" rel="noopener noreferrer" href="'
+ + res['url'] + '"a>upstream</a>)')
+ }
}
});
Fixes https://pagure.io/pagure-dist-git/issue/9
Looks like this: <img alt="Screenshot_from_2017-08-07_16-47-19.png" src="/pagure-dist-git/issue/raw/files/b78149765f39196efa3e099d33854f978ccaba3866b7bd46ebbe66f3aa956211-Screenshot_from_2017-08-07_16-47-19.png" />
Seems there's more going on here.
Is this confused with #14?
Maybe merge that first and then rebase this one?
rebased
Rebased :)
Simple, nice. :+1:
Thanks ! :)
Pull-Request has been merged by pingou
Fixes https://pagure.io/pagure-dist-git/issue/9