mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
f72e6d9a56
After recipients are imported, show a link to "reload the Mailing List" which calls reloadRecipientsList() instead of doing it automatically. Simply call getPageFromServer() and focus the Recipients tab, instead of only reloading the Recipients tab. (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42052 467b73ca-7a2a-4603-9d3b-597d59a354a9
48 lines
1.4 KiB
Scheme
Executable File
48 lines
1.4 KiB
Scheme
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<% base_tag %>
|
|
$MetaTags
|
|
<style type="text/css" media="screen">
|
|
@import "mot/css/css.css";
|
|
@import "mot/css/typography.css";
|
|
</style>
|
|
<style type="text/css" media="print">
|
|
@import "mot/css/print.css";
|
|
</style>
|
|
<style type="text/css">
|
|
body {
|
|
padding-top: 1em;
|
|
}
|
|
</style>
|
|
<script src="jsparty/prototype.js" type="text/javascript"></script>
|
|
<script src="jsparty/behaviour.js" type="text/javascript"></script>
|
|
<script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script>
|
|
<% if ImportMessage %>
|
|
<script type="text/javascript">
|
|
top.statusMessage('Imported new members','good');
|
|
</script>
|
|
<% end_if %>
|
|
</head>
|
|
<body onload="">
|
|
<% if ImportMessage %>
|
|
<p>
|
|
$ImportMessage
|
|
<p><b>Note:</b> To see the new members on the Recipients tab, you need to <a href="#" onclick="javascript:top.reloadRecipientsList()">reload the Mailing List</a>.</p>
|
|
<ul>
|
|
<li><label>New members imported:</label>$NewMembers</li>
|
|
<li><label>Members updated:</label>$ChangedMembers</li>
|
|
<li><label>Number of details changed:</label>$ChangedFields</li>
|
|
<li><label>Records skipped:</label>$SkippedRecords</li>
|
|
<li><label>Time taken: </label>$Time seconds</li>
|
|
</ul>
|
|
</p>
|
|
<% end_if %>
|
|
<% if ErrorMessage %>
|
|
<p class="message bad">
|
|
$ErrorMessage
|
|
</p>
|
|
<% end_if %>
|
|
$UploadForm
|
|
</body>
|
|
</html> |