[% IF !data.notices.has() %]
[% locale.maketext('The system successfully installed the [asis,cPAddon].') %]
[% ELSE %] [% PROCESS 'addoncgi/views/notices.tt' notices => data.notices %] [% END %] [% IF data.success || data.partial_success %] [% IF data.url_to_install %][% locale.maketext('You can access this site at [output,url,_1,_1,id,_2,target,_blank]', data.url_to_install, 'site_url') %]
[% END %] [% IF data.url_to_install_admin %][% locale.maketext('You can access the admin login page for this site at [output,url,_1,_1,id,_2,target,_blank].', data.url_to_install_admin, 'site_admin_url') %]
[% END %] [% IF data.username && data.password %][% locale.maketext('Important:') %] [% IF form.oneclick %] [% locale.maketext('The system automatically generated your credentials, which are not available anywhere else. Save these credentials or use them to log in now and set up another account.') %] [% ELSE %] [% locale.maketext('Your login credentials are listed below:') %] [% END %]
[[% locale.maketext('Back') %]]
[% ELSE %][% SET back_url = to_uri(environment, 'addon=' _ module.name _ '&oneclick=' _ form.oneclick) %] [[% locale.maketext('Back') %]]
[% END %][% SET home_url = to_uri(environment) %] [[% locale.maketext('Home') %]]
[% ELSE %] [[% locale.maketext('Close') %]] [% END %]