Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDevin Sylva <dsylva@gitlab.com>2019-04-27 06:17:44 +0300
committerDevin Sylva <dsylva@gitlab.com>2019-04-27 06:17:44 +0300
commit30874306c9520ceb78907dd73972249f1ddaca25 (patch)
treee1a6fd98491b0a42458b5a17f23e2c331b089385 /app
parent704fbf993be4920a839320d251f4c39da8d9c222 (diff)
Mandatory cosmetic changes to satisfy tests26150_generate_valid_atom
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_issue.atom.builder6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/issues/_issue.atom.builder b/app/views/issues/_issue.atom.builder
index 0390abdca77..6ffa6ad7253 100644
--- a/app/views/issues/_issue.atom.builder
+++ b/app/views/issues/_issue.atom.builder
@@ -7,7 +7,7 @@ xml.entry do
xml.author do
xml.name issue.author_name
- xml.email issue.author_public_email if issue.author_public_email and !issue.author_public_email.empty?
+ xml.email issue.author_public_email if issue.author_public_email && !issue.author_public_email.empty?
end
xml.summary issue.title
@@ -22,12 +22,12 @@ xml.entry do
end
end
-# Names each contributor to the entry. An entry may have multiple contributor elements.
+ # Names each contributor to the entry. An entry may have multiple contributor elements.
if issue.assignees.any?
issue.assignees.each do |assignee|
xml.contributor do
xml.name assignee.name
- xml.email assignee.public_email if assignee.public_email and !assignee.public_email.empty?
+ xml.email assignee.public_email if assignee.public_email && !assignee.public_email.empty?
end
end
end