Move custom login form text to an html file

Also committing all the template files needed for
making phabricator closer to how our gforge looks.
This commit is contained in:
2013-10-21 23:27:04 +02:00
parent e56041da3b
commit ba34aa535a
3 changed files with 13 additions and 7 deletions

View File

@@ -77,13 +77,10 @@ final class PhabricatorAuthProviderPassword
pht('Register New Account'));
}
$dialog->addFooter(phutil_tag('br'));
$dialog->addFooter(pht('Welcome to the new Blender developer website! Accounts from projects.blender.org have been preserved, with one exception: if you had multiple accounts using the same e-mail address, they will now be merged into one account.'));
$dialog->addFooter(phutil_tag('br'));
$dialog->addFooter(phutil_tag('br'));
$dialog->addFooter(pht('TODO: add a way to show the right account name if the wrong one is entered.'));
$dialog->addFooter(phutil_tag('br'));
$dialog->addFooter(phutil_tag('br'));
$webroot = dirname(phutil_get_library_root('phabricator')).'/webroot/';
$dialog->addFooter(
phutil_safe_html(
FileSystem::readFile($webroot .'rsrc/custom/static/login.html')));
$dialog->addFooter(
phutil_tag(

View File

@@ -0,0 +1,2 @@
<p style="margin: 12pt 0;">Welcome to the new Blender developer website! Accounts from projects.blender.org have been preserved, with one exception: if you had multiple accounts using the same e-mail address, they will now be merged into one account.</p>
<p style="margin: 12pt 0;">TODO: add a way to show the right account name if the wrong one is entered.'</p>

View File

@@ -0,0 +1,7 @@
<div class="aphront-mini-panel-view">
<h1><a href="maniphest/">Blender 2.6 Bug tracker</a></h1>
<div style="padding-left: 16pt">
<a href="maniphest/task/create/">submit</a> Blender 2.6x bugs<br>
<a href="maniphest/">browse</a> Blender 2.6x bugs
</div>
</div>