mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUG: Installer templates
Installer was feeing the title "Title" to the template. Template rearranged for usability concerns (people were missing the email and password when going to the CMS login page)
This commit is contained in:
parent
2e791abad2
commit
4fdc76d904
@ -401,7 +401,7 @@ HTML;
|
|||||||
));
|
));
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
"Title" => DBField::create_field('Varchar', "Title", "Installation Successful"),
|
"Title" => _t("ContentController.INSTALL_SUCCESS", "Installation Successful!"),
|
||||||
"Content" => $data->renderWith('Install_successfullyinstalled'),
|
"Content" => $data->renderWith('Install_successfullyinstalled'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,18 @@
|
|||||||
<p style="margin: 1em 0">
|
<p>
|
||||||
<b><%t ContentController.InstallSuccessCongratulations "SilverStripe has been successfully installed." %></b>
|
<%t ContentController.InstallSuccessCongratulations "SilverStripe has been successfully installed!" %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<% if Project == 'tutorial' %>
|
<% if Project == 'tutorial' %>
|
||||||
<%t ContentController.PostInstallTutorialIntro 'This website is a simplistic version of a SilverStripe 2 site. To extend this, please take a look at {link}.' link='<a href="http://doc.silverstripe.org/doku.php?id=tutorials">our new tutorials</a>' %>
|
<%t ContentController.PostInstallTutorialIntro 'This website is a simplistic version of a SilverStripe 3 site. To extend this, please take a look at {link}.' link='<a href="http://doc.silverstripe.org/doku.php?id=tutorials">our tutorials</a>' %>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
|
<p><strong> <%t ContentController.Email "Email" %>: $Username</strong></br>
|
||||||
|
<strong> <%t ContentController.Password "Password" %>: $Password</strong></p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%t ContentController.StartEditing 'You can start editing your site\'s content by opening <a href="{link}">the CMS</a>.' link="admin/" %>
|
<%t ContentController.StartEditing "You can start editing your site's content by opening <a href=\"{link}\">the CMS</a>." link="admin/" %>
|
||||||
<br />
|
|
||||||
<%t ContentController.Email "Email" %>: $Username<br />
|
|
||||||
<%t ContentController.Password "Password" %>: $Password<br />
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div style="background:#fcf8f2; border-radius:4px; border: 1px solid #ffc28b; padding:5px; margin:5px;">
|
<div style="background:#fcf8f2; border-radius:4px; border: 1px solid #ffc28b; padding:5px; margin:5px;">
|
||||||
<img src="cms/images/dialogs/alert.gif" style="border: none; margin-right: 10px; float: left; height:48px; width:48px" />
|
<img src="cms/images/dialogs/alert.gif" style="border: none; margin-right: 10px; float: left; height:48px; width:48px" />
|
||||||
<p style="color: #cb6a1c; margin-bottom:0;">
|
<p style="color: #cb6a1c; margin-bottom:0;">
|
||||||
|
Loading…
Reference in New Issue
Block a user