From b2b62e8f06ee931a10866f53cc508a09db45cb43 Mon Sep 17 00:00:00 2001
From: Alexander Olofsson <alexander.olofsson@liu.se>
Date: Thu, 25 Apr 2019 10:12:52 +0200
Subject: [PATCH] Improve language slightly when without changes

---
 app/lib/actions/foreman_template_tasks/template_action.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/lib/actions/foreman_template_tasks/template_action.rb b/app/lib/actions/foreman_template_tasks/template_action.rb
index 96c3e17..f45b471 100644
--- a/app/lib/actions/foreman_template_tasks/template_action.rb
+++ b/app/lib/actions/foreman_template_tasks/template_action.rb
@@ -29,7 +29,8 @@ module Actions
         out += if changes.any?
                  "#{changes.count} templates changed"
                else
-                 'no changes to affected templates'
+                 location = self.class == TemplateImportAction ? 'local' : 'remote'
+                 "no changes to #{location} templates"
                end
 
         out += if exceptions.any?
-- 
GitLab