1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00

Change "Pontificate" text in Serious Business mode

Summary: Fixes T3833. Serious business was seriously disrupted.

Test Plan: Looked at button in both seriousness modes.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T3833

Differential Revision: https://secure.phabricator.com/D7003
This commit is contained in:
epriestley 2013-09-16 08:01:14 -07:00
parent 0fa8db1413
commit e36721a9cf

View file

@ -133,6 +133,7 @@ final class ConpherenceViewController extends
$update_uri = $this->getApplicationURI('update/'.$conpherence->getID().'/');
Javelin::initBehavior('conpherence-pontificate');
$is_serious = PhabricatorEnv::getEnvConfig('phabricator.serious-business');
$form =
id(new AphrontFormView())
@ -147,7 +148,10 @@ final class ConpherenceViewController extends
->setName('text'))
->appendChild(
id(new AphrontFormSubmitControl())
->setValue(pht('Pontificate')))
->setValue(
$is_serious
? pht('Send')
: pht('Pontificate')))
->appendChild(
javelin_tag(
'input',