1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 00:10:57 +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(
'names' => array(
'core.pkg.css' => '59173e43',
'core.pkg.css' => '5ae77fb9',
'core.pkg.js' => 'cbdbd552',
'darkconsole.pkg.js' => 'df001cab',
'differential.pkg.css' => '8af45893',
@ -126,7 +126,7 @@ return array(
'rsrc/css/phui/phui-document.css' => 'a5615198',
'rsrc/css/phui/phui-feed-story.css' => '55dc7732',
'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-header-view.css' => '39594ac0',
'rsrc/css/phui/phui-icon.css' => 'b4963a4f',
@ -770,7 +770,7 @@ return array(
'phui-font-icon-base-css' => '3dad2ae3',
'phui-fontkit-css' => '9c3d2dce',
'phui-form-css' => 'b78ec020',
'phui-form-view-css' => 'a2d72756',
'phui-form-view-css' => 'a3efd18c',
'phui-header-view-css' => '39594ac0',
'phui-icon-view-css' => 'b4963a4f',
'phui-image-mask-css' => '5a8b09c8',

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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