diff options
author | Cyril Brulebois <kibi@debian.org> | 2020-12-28 20:11:17 +0100 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2020-12-28 20:16:31 +0100 |
commit | b3431bf75722eae74753f99e78d441d7f9260517 (patch) | |
tree | 9ee1da0972a7e4f012504f3ea11d6f246108302f /italian/intro/index.wml | |
parent | 8c4721622dd9e717228f408c3aacebdccdfa69f0 (diff) |
intro/index: adjust get_recent_list to get the translated title for the last DSAhotfix-untranslated-dsa-items
The difficulty here is not being in one of the supported and documented
use cases: we're below intro/ but want to be listing stuff under
security/, which is in a different part of the hierarchy. Pass an
explicit relative path as an extra parameter to get_recent_list.
Diffstat (limited to 'italian/intro/index.wml')
-rw-r--r-- | italian/intro/index.wml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/italian/intro/index.wml b/italian/intro/index.wml index 06844d5b588..cdbc9185268 100644 --- a/italian/intro/index.wml +++ b/italian/intro/index.wml @@ -74,7 +74,7 @@ per soddisfare le necessità dei nostri utenti.</p> <li> <a href="../security">Sicurezza:</a> Ultimi aggiornamenti <br> - <:{ $MYLIST = get_recent_list('security/1m', '1', '$(ENGLISHDIR)', 'bydate', '(2000\d+\w+|dsa-\d+)'); + <:{ $MYLIST = get_recent_list('security/1m', '1', '$(ENGLISHDIR)/intro', 'bydate', '(2000\d+\w+|dsa-\d+)', '../security/'); @MYLIST = split(/\n/, $MYLIST); $MYLIST[0] =~ s#security#../security#; print $MYLIST[0]; }:> |