From 7fbf17a824f15b61a9cab600e503beca1ffecd56 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Tue, 18 Sep 2012 19:34:39 +0400 Subject: [PATCH] updated email templates --- app/views/user_mailer/build_list_notification.en.haml | 4 ++-- app/views/user_mailer/build_list_notification.ru.haml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/user_mailer/build_list_notification.en.haml b/app/views/user_mailer/build_list_notification.en.haml index ebf26e0be..9f58dafe3 100644 --- a/app/views/user_mailer/build_list_notification.en.haml +++ b/app/views/user_mailer/build_list_notification.en.haml @@ -1,7 +1,7 @@ %p Build project - if @build_list.project - = link_to @build_list.project.name_with_owner, @build_list.project + = link_to @build_list.project.name_with_owner, project_url(@build_list.project) - else = t("layout.projects.unexisted_project") completed with status @@ -10,6 +10,6 @@ = "#{@build_list.arch.name}." %p More detailed information you can get by link: - = link_to "task [№ #{@build_list.bs_id ? @build_list.bs_id : t("layout.build_lists.bs_id_not_set")}]", @build_list + = link_to "task [№ #{@build_list.bs_id ? @build_list.bs_id : t("layout.build_lists.bs_id_not_set")}]", build_list_url(@build_list) %p== Support team «ROSA Build System» diff --git a/app/views/user_mailer/build_list_notification.ru.haml b/app/views/user_mailer/build_list_notification.ru.haml index af90882b0..8a0970053 100644 --- a/app/views/user_mailer/build_list_notification.ru.haml +++ b/app/views/user_mailer/build_list_notification.ru.haml @@ -1,7 +1,7 @@ %p Сборка проекта - if @build_list.project - = link_to @build_list.project.name_with_owner, @build_list.project + = link_to @build_list.project.name_with_owner, project_url(@build_list.project) - else = t("layout.projects.unexisted_project") завершена со статусом @@ -10,6 +10,6 @@ = "#{@build_list.arch.name}." %p Более подробную информацию можно получить по ссылке: - = link_to "задание [№ #{@build_list.bs_id ? @build_list.bs_id : t("layout.build_lists.bs_id_not_set")}]", @build_list + = link_to "задание [№ #{@build_list.bs_id ? @build_list.bs_id : t("layout.build_lists.bs_id_not_set")}]", build_list_url(@build_list) %p== Команда поддержки «ROSA Build System»