Christopher Johnson (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250174
Change subject: adds sprint.phragile-uri config variable to icon nav bar menu
......................................................................
adds sprint.phragile-uri config variable to icon nav bar menu
Change-Id: Id7d46a27b4fc2cb274d8d4477db8bb9c55508b8b
---
M src/controller/SprintController.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/phabricator/extensions/Sprint
refs/changes/74/250174/1
diff --git a/src/controller/SprintController.php
b/src/controller/SprintController.php
index bb7667d..143fc2f 100644
--- a/src/controller/SprintController.php
+++ b/src/controller/SprintController.php
@@ -130,7 +130,8 @@
$picture = $project->getProfileImageURI();
$name = $project->getName();
$enable_phragile = PhabricatorEnv::getEnvConfig('sprint.enable-phragile');
- $phragile_uri = new PhutilURI('https://phragile.wmflabs.org/sprints/'.$id);
+ $phragile_base_uri = PhabricatorEnv::getEnvConfig('sprint.phragile-uri');
+ $phragile_uri = new PhutilURI($phragile_base_uri.$id);
$columns = id(new PhabricatorProjectColumnQuery())
->setViewer($viewer)
->withProjectPHIDs(array($project->getPHID()))
--
To view, visit https://gerrit.wikimedia.org/r/250174
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7d46a27b4fc2cb274d8d4477db8bb9c55508b8b
Gerrit-PatchSet: 1
Gerrit-Project: phabricator/extensions/Sprint
Gerrit-Branch: master
Gerrit-Owner: Christopher Johnson (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits