mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02: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().'/');
|
||||
|
||||
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',
|
||||
|
|
Loading…
Reference in a new issue