Announcing live test PRs (#5857)

* Implement one.

* REVERT ME LATER

* Initial implementation dooonnee.

* log

* Fixes

* Lazyness squared
This commit is contained in:
Erki
2018-12-31 03:55:16 +01:00
committed by Werner
parent 746772f1c1
commit 2daef5c6b6
7 changed files with 122 additions and 14 deletions
+6 -2
View File
@@ -186,8 +186,12 @@
if ("github")
if (!config.githuburl)
src << "<span class='danger'>Github URL not set in the config. Unable to open the site.</span>"
else if (alert("This will open the issue tracker in your browser. Are you sure?",, "Yes", "No") == "Yes")
src << link(config.githuburl)
else if (alert("This will open the Github page in your browser. Are you sure?",, "Yes", "No") == "Yes")
if (href_list["pr"])
var/pr_link = "[config.githuburl]pull/[href_list["pr"]]"
src << link(pr_link)
else
src << link(config.githuburl)
// Forum link from various panels.
if ("forums")