Skip to content

Commit

Permalink
Only display mails in the header if there's a user.
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Nov 15, 2009
1 parent 4360e8e commit cbc8212
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/header
Expand Up @@ -11,12 +11,14 @@
<body>
<div class="column span-6 interesting">
<a href="/"><p class="logo"><img src="/chrome/canary.png" id="logo"/>Canary</p></a>
[% IF self.user %]
<h2> Interesting things </h2>
<ul>
[% FOR i = self.interesting; %]
<li> [% i.text; %] in mail [% summary_link(i.mail) %] </li>
[% END %]
</ul>
[% END %]

</div>
<div class="column span-18">
Expand Down

0 comments on commit cbc8212

Please sign in to comment.