Changeset 1246 for trunk/rp/trac

Show
Ignore:
Timestamp:
01/30/08 15:42:22 (11 months ago)
Author:
dbuss
Message:

flipped name of config name up_hide to up_show so that it was easyier to read

Location:
trunk/rp/trac/infocard_acct/0.11/infocard_acct
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/rp/trac/infocard_acct/0.11/infocard_acct/templates/authenticate.html

    r1245 r1246  
    7474           </div> 
    7575            
    76            <fieldset id="traditional_login" py:if="not up_hide"> 
     76           <fieldset id="traditional_login" py:if="up_show"> 
    7777               <h1 py:if="display_infocard">Username / Password Login</h1> 
    7878                   <p class="help" py:if="help_text"> 
  • trunk/rp/trac/infocard_acct/0.11/infocard_acct/web_ui.py

    r1245 r1246  
    194194                    'infocards': self.processors, 
    195195                    'help_text': self.config.get('infocard_acct', 'up_help_text', 'Use existing credentials to authenticate to your account'), 
    196                     'up_hide': self.config.get('infocard_acct', 'up_hide', False) 
     196                    'up_show': self.config.getbool('infocard_acct', 'up_show', True) 
    197197                } 
    198198 
     
    228228                    data['display_infocard'] = False 
    229229                    data['help_text'] = self.config.get('infocard_acct', 'associate_help_text') 
    230                     data['up_hide'] = False 
     230                    data['up_show'] = True 
    231231                return 'authenticate.html', data, None 
    232232            elif req.args.get('xmlToken'):