~nhandler/revu/Use-Bcc-not-To

« back to all changes in this revision

Viewing changes to templates/header.html

  • Committer: Siegfried-Angel Gevatter Pujals
  • Date: 2008-11-03 16:37:08 UTC
  • Revision ID: rainct@ubuntu.com-20081103163708-mrkriig5z9ujo92v
Show date of the next REVU Day.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  <h1>REVU - A Review Tool for MOTUs</h1>
62
62
 
63
63
  % if c.user.is_authed:
64
 
  <div class="login">
 
64
  <div class="login_area float_left">
65
65
    Logged in as ${c.user.nickname}.
66
66
    <a href="profile.py?user=${c.user.nickname}">Your packages</a>&nbsp;
67
67
    <a href="profile.py/preferences">Preferences</a>&nbsp;
69
69
    <a href="?logout=yes">Logout</a>
70
70
  </div>
71
71
  % else:
72
 
  <div class="login">
 
72
  <div class="login_area float_left">
73
73
        <a href="launchpad_login.py">Log in with Launchpad OpenID</a>
74
74
    % if c.user.error_message:
75
75
    ${c.user.error_message}
76
76
    % endif
77
77
  </div>
78
78
  % endif
 
79
  <div class="login_area float_right">
 
80
    <%
 
81
    import os
 
82
    revuday_file = os.path.join(config.getBasePath(), 'data/revuday.txt')
 
83
    if os.path.isfile(revuday_file):
 
84
      revuday = open(revuday_file).read().strip()
 
85
    else:
 
86
      revuday = 'Unknown'
 
87
    %>
 
88
    <strong>Next REVU Day:</strong> ${revuday}
 
89
  </div><br style="clear: both;" />
79
90
  <hr />
80
91
  <div class="float_left">
81
92
    View: <a href='./'>New Packages</a> |