%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<%= t('.body.plan_subscribed_html', PLAN: @attached_object.plan.human_readable_name) %>
<% if @attached_object.plan.is_rolling && @recipient.trainings.count.zero? %> <% duration = I18n.t("duration.#{@attached_object.plan.interval}", count: @attached_object.plan.interval_count) %><%= t('.body.rolling_subscription_stops_on', DURATION: duration, DATE: I18n.l(@attached_object.expired_at.to_date)) %>
<%= t('.body.subscription_stops_on', DATE: I18n.l(@attached_object.expired_at.to_date)) %>