1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Linkify Registration Email

Summary: Missed this in previous pass. Send these as links in HTML emails.

Test Plan: Register a new user that nees approval.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D10815
This commit is contained in:
Chad Little 2014-11-07 14:16:30 -08:00
parent fbc175aa6e
commit 4307d6816d
9 changed files with 16 additions and 16 deletions

View file

@ -7,7 +7,7 @@
*/ */
return array( return array(
'names' => array( 'names' => array(
'core.pkg.css' => '59173e43', 'core.pkg.css' => '5ae77fb9',
'core.pkg.js' => 'cbdbd552', 'core.pkg.js' => 'cbdbd552',
'darkconsole.pkg.js' => 'df001cab', 'darkconsole.pkg.js' => 'df001cab',
'differential.pkg.css' => '8af45893', 'differential.pkg.css' => '8af45893',
@ -126,7 +126,7 @@ return array(
'rsrc/css/phui/phui-document.css' => 'a5615198', 'rsrc/css/phui/phui-document.css' => 'a5615198',
'rsrc/css/phui/phui-feed-story.css' => '55dc7732', 'rsrc/css/phui/phui-feed-story.css' => '55dc7732',
'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce', 'rsrc/css/phui/phui-fontkit.css' => '9c3d2dce',
'rsrc/css/phui/phui-form-view.css' => 'a2d72756', 'rsrc/css/phui/phui-form-view.css' => 'a3efd18c',
'rsrc/css/phui/phui-form.css' => 'b78ec020', 'rsrc/css/phui/phui-form.css' => 'b78ec020',
'rsrc/css/phui/phui-header-view.css' => '39594ac0', 'rsrc/css/phui/phui-header-view.css' => '39594ac0',
'rsrc/css/phui/phui-icon.css' => 'b4963a4f', 'rsrc/css/phui/phui-icon.css' => 'b4963a4f',
@ -770,7 +770,7 @@ return array(
'phui-font-icon-base-css' => '3dad2ae3', 'phui-font-icon-base-css' => '3dad2ae3',
'phui-fontkit-css' => '9c3d2dce', 'phui-fontkit-css' => '9c3d2dce',
'phui-form-css' => 'b78ec020', 'phui-form-css' => 'b78ec020',
'phui-form-view-css' => 'a2d72756', 'phui-form-view-css' => 'a3efd18c',
'phui-header-view-css' => '39594ac0', 'phui-header-view-css' => '39594ac0',
'phui-icon-view-css' => 'b4963a4f', 'phui-icon-view-css' => 'b4963a4f',
'phui-image-mask-css' => '5a8b09c8', 'phui-image-mask-css' => '5a8b09c8',

View file

@ -105,7 +105,6 @@ phutil_register_library_map(array(
'AphrontFormDividerControl' => 'view/form/control/AphrontFormDividerControl.php', 'AphrontFormDividerControl' => 'view/form/control/AphrontFormDividerControl.php',
'AphrontFormFileControl' => 'view/form/control/AphrontFormFileControl.php', 'AphrontFormFileControl' => 'view/form/control/AphrontFormFileControl.php',
'AphrontFormImageControl' => 'view/form/control/AphrontFormImageControl.php', 'AphrontFormImageControl' => 'view/form/control/AphrontFormImageControl.php',
'AphrontFormInsetView' => 'view/form/AphrontFormInsetView.php',
'AphrontFormMarkupControl' => 'view/form/control/AphrontFormMarkupControl.php', 'AphrontFormMarkupControl' => 'view/form/control/AphrontFormMarkupControl.php',
'AphrontFormPasswordControl' => 'view/form/control/AphrontFormPasswordControl.php', 'AphrontFormPasswordControl' => 'view/form/control/AphrontFormPasswordControl.php',
'AphrontFormPolicyControl' => 'view/form/control/AphrontFormPolicyControl.php', 'AphrontFormPolicyControl' => 'view/form/control/AphrontFormPolicyControl.php',
@ -1107,6 +1106,7 @@ phutil_register_library_map(array(
'PHUIFeedStoryView' => 'view/phui/PHUIFeedStoryView.php', 'PHUIFeedStoryView' => 'view/phui/PHUIFeedStoryView.php',
'PHUIFormDividerControl' => 'view/form/control/PHUIFormDividerControl.php', 'PHUIFormDividerControl' => 'view/form/control/PHUIFormDividerControl.php',
'PHUIFormFreeformDateControl' => 'view/form/control/PHUIFormFreeformDateControl.php', 'PHUIFormFreeformDateControl' => 'view/form/control/PHUIFormFreeformDateControl.php',
'PHUIFormInsetView' => 'view/form/PHUIFormInsetView.php',
'PHUIFormLayoutView' => 'view/form/PHUIFormLayoutView.php', 'PHUIFormLayoutView' => 'view/form/PHUIFormLayoutView.php',
'PHUIFormMultiSubmitControl' => 'view/form/control/PHUIFormMultiSubmitControl.php', 'PHUIFormMultiSubmitControl' => 'view/form/control/PHUIFormMultiSubmitControl.php',
'PHUIFormPageView' => 'view/form/PHUIFormPageView.php', 'PHUIFormPageView' => 'view/form/PHUIFormPageView.php',
@ -3099,7 +3099,6 @@ phutil_register_library_map(array(
'AphrontFormDividerControl' => 'AphrontFormControl', 'AphrontFormDividerControl' => 'AphrontFormControl',
'AphrontFormFileControl' => 'AphrontFormControl', 'AphrontFormFileControl' => 'AphrontFormControl',
'AphrontFormImageControl' => 'AphrontFormControl', 'AphrontFormImageControl' => 'AphrontFormControl',
'AphrontFormInsetView' => 'AphrontView',
'AphrontFormMarkupControl' => 'AphrontFormControl', 'AphrontFormMarkupControl' => 'AphrontFormControl',
'AphrontFormPasswordControl' => 'AphrontFormControl', 'AphrontFormPasswordControl' => 'AphrontFormControl',
'AphrontFormPolicyControl' => 'AphrontFormControl', 'AphrontFormPolicyControl' => 'AphrontFormControl',
@ -4166,6 +4165,7 @@ phutil_register_library_map(array(
'PHUIFeedStoryView' => 'AphrontView', 'PHUIFeedStoryView' => 'AphrontView',
'PHUIFormDividerControl' => 'AphrontFormControl', 'PHUIFormDividerControl' => 'AphrontFormControl',
'PHUIFormFreeformDateControl' => 'AphrontFormControl', 'PHUIFormFreeformDateControl' => 'AphrontFormControl',
'PHUIFormInsetView' => 'AphrontView',
'PHUIFormLayoutView' => 'AphrontView', 'PHUIFormLayoutView' => 'AphrontView',
'PHUIFormMultiSubmitControl' => 'AphrontFormControl', 'PHUIFormMultiSubmitControl' => 'AphrontFormControl',
'PHUIFormPageView' => 'AphrontView', 'PHUIFormPageView' => 'AphrontView',

View file

@ -558,12 +558,12 @@ final class PhabricatorAuthRegisterController
'administrator.', 'administrator.',
$user->getUsername())); $user->getUsername()));
$body->addTextSection( $body->addLinkSection(
pht('APPROVAL QUEUE'), pht('APPROVAL QUEUE'),
PhabricatorEnv::getProductionURI( PhabricatorEnv::getProductionURI(
'/people/query/approval/')); '/people/query/approval/'));
$body->addTextSection( $body->addLinkSection(
pht('DISABLE APPROVAL QUEUE'), pht('DISABLE APPROVAL QUEUE'),
PhabricatorEnv::getProductionURI( PhabricatorEnv::getProductionURI(
'/config/edit/auth.require-approval/')); '/config/edit/auth.require-approval/'));

View file

@ -169,7 +169,7 @@ final class HeraldRuleController extends HeraldController {
phutil_tag('strong', array(), $content_type_name)))) phutil_tag('strong', array(), $content_type_name))))
->appendChild($trigger_object_control) ->appendChild($trigger_object_control)
->appendChild( ->appendChild(
id(new AphrontFormInsetView()) id(new PHUIFormInsetView())
->setTitle(pht('Conditions')) ->setTitle(pht('Conditions'))
->setRightButton(javelin_tag( ->setRightButton(javelin_tag(
'a', 'a',
@ -190,7 +190,7 @@ final class HeraldRuleController extends HeraldController {
), ),
''))) '')))
->appendChild( ->appendChild(
id(new AphrontFormInsetView()) id(new PHUIFormInsetView())
->setTitle(pht('Action')) ->setTitle(pht('Action'))
->setRightButton(javelin_tag( ->setRightButton(javelin_tag(
'a', 'a',

View file

@ -118,7 +118,7 @@ final class ManiphestBatchEditController extends ManiphestController {
phutil_tag('p', array(), pht('These tasks will be edited:'))); phutil_tag('p', array(), pht('These tasks will be edited:')));
$form->appendChild($list); $form->appendChild($list);
$form->appendChild( $form->appendChild(
id(new AphrontFormInsetView()) id(new PHUIFormInsetView())
->setTitle('Actions') ->setTitle('Actions')
->setRightButton(javelin_tag( ->setRightButton(javelin_tag(
'a', 'a',

View file

@ -211,7 +211,7 @@ final class PhabricatorOwnersEditController
? 'enabled' ? 'enabled'
: 'disabled')) : 'disabled'))
->appendChild( ->appendChild(
id(new AphrontFormInsetView()) id(new PHUIFormInsetView())
->setTitle(pht('Paths')) ->setTitle(pht('Paths'))
->addDivAttributes(array('id' => 'path-editor')) ->addDivAttributes(array('id' => 'path-editor'))
->setRightButton(javelin_tag( ->setRightButton(javelin_tag(

View file

@ -153,7 +153,7 @@ final class PhabricatorPolicyEditController
'sigil' => 'rules', 'sigil' => 'rules',
))) )))
->appendChild( ->appendChild(
id(new AphrontFormInsetView()) id(new PHUIFormInsetView())
->setTitle(pht('Rules')) ->setTitle(pht('Rules'))
->setRightButton( ->setRightButton(
javelin_tag( javelin_tag(

View file

@ -1,6 +1,6 @@
<?php <?php
final class AphrontFormInsetView extends AphrontView { final class PHUIFormInsetView extends AphrontView {
private $title; private $title;
private $description; private $description;
@ -83,7 +83,7 @@ final class AphrontFormInsetView extends AphrontView {
} }
$div_attributes = $this->divAttributes; $div_attributes = $this->divAttributes;
$classes = array('aphront-form-inset'); $classes = array('phui-form-inset');
if (isset($div_attributes['class'])) { if (isset($div_attributes['class'])) {
$classes[] = $div_attributes['class']; $classes[] = $div_attributes['class'];
} }

View file

@ -251,14 +251,14 @@ table.aphront-form-control-checkbox-layout th {
position: relative; position: relative;
} }
.aphront-form-inset { .phui-form-inset {
margin: 0 0 8px; margin: 0 0 8px;
padding: 8px; padding: 8px;
background: #fff; background: #fff;
border: 1px solid #d4dae0; border: 1px solid #d4dae0;
} }
.aphront-form-inset h1 { .phui-form-inset h1 {
color: {$greytext}; color: {$greytext};
font-weight: normal; font-weight: normal;
padding-bottom: 8px; padding-bottom: 8px;