Skip to Content.
Sympa Menu

en - Re: [sympa-users] 5.3.3 - /usr/share/sympa/web_tt2/list_admin_menu.tt2

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Eddy Beliveau <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] 5.3.3 - /usr/share/sympa/web_tt2/list_admin_menu.tt2
  • Date: Fri, 13 Nov 2009 17:14:35 +0100

Hi,

"is_archived" is true only if web_archive parameter is defined.
I checked the code for the 5.3 branch and it works the same. what makes you think the it is always true?

cheers,

David

Eddy Beliveau a écrit :
Hi! Networkers,

On sympa 5.3.3, It seems that the condition 'is_archived' is always true
within /usr/share/sympa/web_tt2/list_admin_menu.tt2 template.

I just create a new list 'mylist'

There is no /var/sympa/arc/mylist directory

The following lines are commented within /var/sympa/expl/mylist/conf
#web_archive
# access private
# max_month 6
#archive
# period year
# access closed
The file /etc/sympa/edit_list.conf contains:
...cut...
web_archive listmaster write
web_archive owner,privileged_owner hidden
#web_archive.quota owner,privileged_owner hidden
#web_archive.max_month owner,privileged_owner read

I'm using the original 5.3.3 /usr/share/sympa/web_tt2/list_admin_menu.tt2 template.

I have no /etc/sympa/scenari/access_web_archive.default file.

Normally, I would assume that [% IF is_archived %] return false
but it seems to always return true

Is it normal that this variable return 'true' ?

Is it a bug ?
Did I missed something ?

Please note that I have the same behaviour with list_menu.tt2 template !

Thanks
Eddy


--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page