aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-01-14 21:27:40 +0100
committerThomas Deutschmann <whissi@gentoo.org>2018-01-14 21:27:40 +0100
commit198bb5689f9999b4a8661a9db375f59ce959b0b8 (patch)
tree4d5e06cb1671ac1b13934f392a1cc3be08d222bf
parentSet default slot value (diff)
downloadglsamaker-198bb5689f9999b4a8661a9db375f59ce959b0b8.tar.gz
glsamaker-198bb5689f9999b4a8661a9db375f59ce959b0b8.tar.bz2
glsamaker-198bb5689f9999b4a8661a9db375f59ce959b0b8.zip
Re-apply "XML format: Revert using count="" in <revised/>"
This reverts commit 28edbb73d4547b5d51268f38b58f24ee4f826120.
-rw-r--r--app/views/glsa/_glsa.xml.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/glsa/_glsa.xml.builder b/app/views/glsa/_glsa.xml.builder
index 0fe529d..9eeee69 100644
--- a/app/views/glsa/_glsa.xml.builder
+++ b/app/views/glsa/_glsa.xml.builder
@@ -6,7 +6,7 @@ xml.glsa :id => glsa.glsa_id do
xml.synopsis rev.synopsis
xml.product({:type => "ebuild"}, rev.product)
xml.announced glsa.release_date.strftime '%Y-%m-%d'
- xml.revised glsa.revised_date.strftime('%Y-%m-%d') + ": #{rev.release_revision || 'draft'}"
+ xml.revised({:count => "#{rev.release_revision || 'draft'}"}, glsa.revised_date.strftime('%Y-%m-%d'))
rev.bugs.each do |bug|
xml.bug bug.bug_id