diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-01-14 21:27:40 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-01-14 21:27:40 +0100 |
commit | 198bb5689f9999b4a8661a9db375f59ce959b0b8 (patch) | |
tree | 4d5e06cb1671ac1b13934f392a1cc3be08d222bf | |
parent | Set default slot value (diff) | |
download | glsamaker-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.builder | 2 |
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 |