<% if (typeof customer !== 'undefined' && typeof subscriptions !== 'undefined') { %>

<%= welcome %> <%= customer.attributes.firstname %> <%= customer.attributes.lastname %>

<% if ((subscriptions.length == 0) || (subscriptions.length > 0 && subscriptions[0].instance == null)) { %>
<% } %>
<% } %> <% if (typeof subscriptions !== 'undefined' && subscriptions.length > 0) { %>

1

<%= introMessage %>

<%= warningMessage %><%= irreversible %>

<% for (var i = 0; i < subscriptions.length; i++) { %> <% var subscription = subscriptions[i]; %> <% var numberClass = i%2 ? 'list_two' : 'list_one' ; %>

<% } %>
<% } else if (typeof subscriptions !== 'undefined' && subscriptions.length == 0) { %>

<%= get5Plugins %>

11 <%= nbPlugins %> <%= ppInstall %> <%= usingPPMText %>

<%= discoverIMP %>

+150 <%= CentreonPP %> <%= subscribe %> <%= subscribeText %>

<% } else { %>
<%= errorMessage %>
<% } %>