projects
/
selectricity
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324eefe
)
custimizable widgets now work for top_bar as well, btu still only with png's.
author
<jlsharps@mit.edu>
<>
Fri, 30 May 2008 02:48:33 +0000
(22:48 -0400)
committer
<jlsharps@mit.edu>
<>
Fri, 30 May 2008 02:48:33 +0000
(22:48 -0400)
app/views/embed/full_vote.rhtml
patch
|
blob
|
history
diff --git
a/app/views/embed/full_vote.rhtml
b/app/views/embed/full_vote.rhtml
index db8f043312f57d8cbf068b93d72ea617ea92ca96..919b442c34af6fb88a8b3c7235149ac8f56c602a 100644
(file)
--- a/
app/views/embed/full_vote.rhtml
+++ b/
app/views/embed/full_vote.rhtml
@@
-1,4
+1,8
@@
-<div id="header">
+<div id="header" style="background-image:url(<%if @top_bar%>
+ <%=url_for @top_bar.public_filename%>)
+ <% else %>
+ /images/embed_basic_bg.png)
+ <% end %>">
<%= link_to '<img id="header_icon" src="/images/embed_header_icon.png" />',
{:controller => 'front'}, {:target => "_parent"} %><h2>Vote Now</h2>
</div>
Benjamin Mako Hill
||
Want to submit a patch?