aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/advisories_table.html2
-rw-r--r--tmpl/advisory.html2
-rw-r--r--tmpl/advisory.txt2
-rw-r--r--tmpl/advisory_item.rss2
4 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/advisories_table.html b/tmpl/advisories_table.html
index 6702ace..5dcca66 100644
--- a/tmpl/advisories_table.html
+++ b/tmpl/advisories_table.html
@@ -23,7 +23,7 @@
[% FOREACH adv IN advlst %]
<tr>
<td width='100'>
- [% date.format(advdb.advisories.$adv.pubtime, format => '%Y-%m-%d', gmt => 1) %]
+ [% date.format(advdb.advisories.$adv.status.published, format => '%Y-%m-%d', gmt => 1) %]
</td>
<td width='150'><a href="[% basename.ID(adv) %].html">[% adv %]</a></td>
<td>
diff --git a/tmpl/advisory.html b/tmpl/advisory.html
index ed59561..394fc7c 100644
--- a/tmpl/advisory.html
+++ b/tmpl/advisory.html
@@ -8,7 +8,7 @@
<body>
<h1>[% advisory %] - [% adv.subject %]</h1>
- Publication date: [% date.format(adv.pubtime, format => '%d %b %Y', gmt => 1) %]<br />
+ Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt => 1) %]<br />
Type: [% adv.type %]<br />
Affected Mageia releases :
[% SET sep = '' %]
diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt
index 2094722..016df71 100644
--- a/tmpl/advisory.txt
+++ b/tmpl/advisory.txt
@@ -2,7 +2,7 @@
[%- SET adv = advdb.advisories.$advisory -%]
[% advisory %] - [% adv.subject %]
-Publication date: [% date.format(adv.pubtime, format => '%d %b %Y', gmt => 1) %]
+Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt => 1) %]
URL: [% config.site_url %]/[% basename.ID(advisory) %].html
Type: [% adv.type %]
Affected Mageia releases: [% adv.src.keys.sort.join(', ') %]
diff --git a/tmpl/advisory_item.rss b/tmpl/advisory_item.rss
index 186c2f8..9edfe05 100644
--- a/tmpl/advisory_item.rss
+++ b/tmpl/advisory_item.rss
@@ -7,7 +7,7 @@
<category>[% advisory.type %]</category>
<description>
- Publication date: [% date.format(advisory.pubtime, format => '%d %b %Y', gmt => 1) %]&lt;br /&gt;
+ Publication date: [% date.format(advisory.status.published, format => '%d %b %Y', gmt => 1) %]&lt;br /&gt;
Type: [% advisory.type %]&lt;br /&gt;
Affected Mageia releases :
[% SET sep = '' %]