Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa 6.2

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Lumineau <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Sympa 6.2
  • Date: Fri, 12 Jun 2015 10:52:02 +0200

hi,
I'm the author of the new "quite nice" web interface, thank you :-)

And I broke the index of lists too, sorry... :-[
 
So in lists.tt2 (see the attachment) , just change the following lines :

 

      <h4>[% IF letter == "others" %][%|loc%]Others[%END%][% ELSE %][% letter %][% END %]</h4>
by

    <article id="[% letter %]" >

      <h4>[% IF letter == "others" %][%|loc%]Others[%END%][% ELSE %][% letter %][% END %]</h4>


and

      [% END %]
      </ul>

by

      [% END %]
      </ul>
    <span class="divider"></span>
    </article>


Note : initially the <span class="divider"></span> is just above  [% all_letters.push(letter) %] , move it above </article>  to have only one separator when letters are hidden.

If you have any other question about web interface, feel free to ask it on this list

--
Olivier LUMINEAU
Études et projets applicatifs
  Tél : +33 2 23 23 69 05
www.renater.fr
 






Le 12/06/2015 01:13, Paul Grzesina a écrit :
I've noticed the following in the 6.2 release:

The CAS login button does not appear. It appears that $Conf{'cas_number'}{$robot} is always 0. The following patch appears to fix this:

--- Conf.pm     2015-06-11 07:08:36.000000000 -0600
+++ /home/sympa/bin/Conf.pm     2015-06-11 16:23:31.000000000 -0600
@@ -1179,6 +1179,7 @@
                             'Incorrect CAS paragraph in auth.conf');
                         next;
                     }
+                    $Conf{'cas_number'}{$robot}++;

                     eval "require AuthCAS";
                     if ($EVAL_ERROR) {


The index of lists does not appear to be working. The correct letters are highlighted, but no list names ever appear. I haven't been able to track this one down yet, but it is possible that it is something with my particular configuration.

The new web interface is quite nice. A surprising amount of change from 6.2b9, but nice.

Paul Grzesina





[%- IF subtitle %]

[% subtitle %]

[% END -%] [% letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','others' ] %] [% all_letters = [] %] [% IF action == 'search_list' %]

[%|loc(occurrence)%]%1 occurrence(s) found[%END%]

[% ELSIF action == 'search_user' %]

[%|loc(email)%]%1 is subscribed to the following mailing lists[%END%]

[% END %] [% IF which && which.size %] [% FOREACH letter IN letters %] [% IF orderedlist.$letter.0 %]

[% IF letter == "others" %][%|loc%]Others[%END%][% ELSE %][% letter %][% END %]

    [% FOREACH listname IN orderedlist.$letter %] [% hidden_head %][% listname %][% hidden_at %][% which.$listname.host %][% hidden_end %] [% IF which.$listname.is_owner || which.$listname.is_editor || which.$listname.is_subscriber ~%] ( [%~ IF which.$listname.is_owner ~%] [%|loc%]Owner[%END ~%] [% IF which.$listname.is_subscriber %][%|loc%], [%END%][%END ~%] [% ELSIF which.$listname.is_editor ~%] [%|loc%]Editor[%END ~%] [% IF which.$listname.is_subscriber %][%|loc%], [%END%][%END ~%] [% END ~%] [% IF which.$listname.is_subscriber %][%|loc%]Subscriber[%END%][%END ~%] ) [% END %]

    [% which.$listname.subject %]

    [% END %] [% all_letters.push(letter) %] [% END %] [% END %]
    [% IF action == 'which' %] [% IF ! which %]   [%|loc(user.email)%]No subscriptions with address %1![%END%]
    [% END %] [% END %] [% ELSE %]

    [%|loc%]No mailing list available.[%END%]

    [% END %] [% IF all_letters.size %] [% END %]


    Archive powered by MHonArc 2.6.19+.

    Top of Page