mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +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:
parent
0fa8db1413
commit
e36721a9cf
1 changed files with 5 additions and 1 deletions
|
@ -133,6 +133,7 @@ final class ConpherenceViewController extends
|
||||||
$update_uri = $this->getApplicationURI('update/'.$conpherence->getID().'/');
|
$update_uri = $this->getApplicationURI('update/'.$conpherence->getID().'/');
|
||||||
|
|
||||||
Javelin::initBehavior('conpherence-pontificate');
|
Javelin::initBehavior('conpherence-pontificate');
|
||||||
|
$is_serious = PhabricatorEnv::getEnvConfig('phabricator.serious-business');
|
||||||
|
|
||||||
$form =
|
$form =
|
||||||
id(new AphrontFormView())
|
id(new AphrontFormView())
|
||||||
|
@ -147,7 +148,10 @@ final class ConpherenceViewController extends
|
||||||
->setName('text'))
|
->setName('text'))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSubmitControl())
|
id(new AphrontFormSubmitControl())
|
||||||
->setValue(pht('Pontificate')))
|
->setValue(
|
||||||
|
$is_serious
|
||||||
|
? pht('Send')
|
||||||
|
: pht('Pontificate')))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
javelin_tag(
|
javelin_tag(
|
||||||
'input',
|
'input',
|
||||||
|
|
Loading…
Reference in a new issue