diff --git a/app/controllers/admin/system_emails_controller.rb b/app/controllers/admin/system_emails_controller.rb new file mode 100644 index 000000000..de09c7c1f --- /dev/null +++ b/app/controllers/admin/system_emails_controller.rb @@ -0,0 +1,7 @@ +class Admin::SystemEmailsController < Admin::BaseController + + def index + @system_emails = %w(proposal_notification_digest) + end + +end diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index e1d6cc0de..ffec03232 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -79,7 +79,7 @@ <% end %> - <% messages_sections = %w(newsletters emails_download admin_notifications) %> + <% messages_sections = %w(newsletters emails_download admin_notifications system_emails) %> <% messages_menu_active = messages_sections.include?(controller_name) %>
| <%= t("admin.shared.title") %> | +<%= t("admin.shared.description") %> | +<%= t("admin.shared.actions") %> | +
|---|---|---|
| + <%= t("admin.system_emails.#{system_email}.title") %> + | ++ <%= t("admin.system_emails.#{system_email}.description") %> + | ++ <%= link_to t("admin.shared.view"), admin_system_email_view_path(system_email), + class: "button hollow" %> + <%= link_to t("admin.shared.preview"), admin_system_email_preview_path(system_email), + class: "button" %> + | +