show traffic value in link title

This commit is contained in:
joshua stein 2012-09-01 22:53:31 -05:00
parent 88894a66fc
commit 3bd2e6b8a7

View file

@ -27,7 +27,8 @@
<div id="header">
<div id="headerleft">
<a id="l_holder" style="background-color: #<%= sprintf("%02x%02x%02x",
[ 255, (@traffic * 7).floor + 50.0 ].min, 0, 0) %>;" href="/"></a>
[ 255, (@traffic * 7).floor + 50.0 ].min, 0, 0) %>;" href="/"
title="Lobsters (<%= @traffic.to_i %>)"></a>
<% links = { "/" => "Home", "/newest" => "Newest Stories" } %>
<% if @user %>