jazz/08-02-22: TracAccountManager-0.10.accesskey.patch

File TracAccountManager-0.10.accesskey.patch, 1.3 KB (added by jazz, 16 years ago)
  • ./acct_mgr/web_ui.py

    diff -Naur ./acct_mgr/web_ui.py.org ./acct_mgr/web_ui.py
    old new  
    143143        if not self._write_check():
    144144            return
    145145        if req.authname != 'anonymous':
    146             yield 'metanav', 'account', Markup('<a href="%s">My Account</a>',
     146            yield 'metanav', 'account', Markup('<a href="%s" accesskey="m">(M)y Account</a>',
    147147                                               (req.href.account()))
    148148        elif self.reset_password_enabled and not LoginModule(self.env).enabled:
    149149            yield 'metanav', 'reset_password', Markup('<a href="%s">Forgot your password?</a>',
  • ./acct_mgr/templates/login.cs

    diff -Naur ./acct_mgr/templates/login.cs.org ./acct_mgr/templates/login.cs
    old new  
    2424   <label for="password">Password:</label>
    2525   <input type="password" id="password" name="password" class="textwidget" size="20" />
    2626  </div>
    27   <input type="submit" value="Login" />
     27  <input type="submit" value="Login(i)" accesskey="i"/>
    2828
    2929  <?cs if trac.href.reset_password ?>
    3030  <p><a href="<?cs var:trac.href.reset_password ?>">Forgot your password?</a></p>