Commit 3316b62cebeba17adbef92a82ecafa6753402873

move sidebar content into maincontent when not logged in on frontpage

Commit diff

app/views/site/index.html.erb

 
77
88<div id="site_overview">
99 <%= image_tag("overview.png") -%>
10 <% unless logged_in? -%>
11 <p class="hint create_account_hint">
12 <%= link_to "Creating a user account", new_user_path -%> will allows you to create
13 your own project or participate in the development of any project.
14 </p>
15 <% end -%>
1016</div>
1117
1218<div id="newest_projects">
3636 <% end %>
3737 </ul>
3838</div>
39
40<% content_for :sidebar do -%>
41<% unless logged_in? -%>
42<p class="hint">
43 <%= link_to "Creating a user account", new_user_path -%> will allows you to create
44 your own project or participate in the development of any project.
45</p>
46<% end -%>
47<% end -%>
toggle raw diff

public/stylesheets/base.css

 
726726 text-align: center;
727727 margin-bottom: 4em;
728728}
729
730#site_overview p.create_account_hint {
731 margin-top: 1.5em;
732}
toggle raw diff