Ignore:
Timestamp:
11/09/10 16:12:47 (9 years ago)
Author:
jukka
Message:

Fixed #2002, if there are no groups to join, redirect immediately to edit page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/join_a_group.cpt

    r3069 r3104  
    1515 
    1616        <metal:block define-macro="join_a_group" tal:define="groups_editing context/getGroupEditing"> 
     17        <tal:no_group_redirect tal:condition="not:nocall:groups_editing"> 
     18            <tal:boing define="null python:context.REQUEST.RESPONSE.redirect(context.absolute_url()+'/edit')" /> 
     19        </tal:no_group_redirect> 
     20 
     21 
    1722        <div id="join_a_group" 
    1823            tal:condition="nocall:groups_editing"> 
Note: See TracChangeset for help on using the changeset viewer.