about subnav
This commit is contained in:
parent
91891dc214
commit
883dd2b28e
|
@ -0,0 +1,6 @@
|
|||
<% content_for :subnav do %>
|
||||
<%= link_to_different_page 'About', "/about" %>
|
||||
<%= link_to_different_page 'Chat', chat_path %>
|
||||
<%= link_to_different_page 'Stats', stats_path %>
|
||||
<%= link_to_different_page 'Hats', hats_path %>
|
||||
<% end %>
|
|
@ -1,8 +1,4 @@
|
|||
<% content_for :subnav do %>
|
||||
<% if @user %>
|
||||
<a href="<%= request_hat_url %>">Request Hat</a>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% render partial: 'about/subnav' %>
|
||||
|
||||
<div class="box wide">
|
||||
<p>
|
||||
|
@ -12,6 +8,10 @@
|
|||
message.
|
||||
</p>
|
||||
|
||||
<% if @user %>
|
||||
<h2><a href="<%= request_hat_url %>">Request Hat</a></h2>
|
||||
<% end %>
|
||||
|
||||
<table class="data zebra" width="100%" cellspacing=0>
|
||||
<tr>
|
||||
<th style="width: 130px;">User</th>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="box wide">
|
||||
<h1>About</h1>
|
||||
<% render partial: 'about/subnav' %>
|
||||
|
||||
<div class="box wide">
|
||||
<%- raise "Site owner: You need to delete app/views/home/about.html.erb and write your own about page" if Rails.env.production? and Rails.application.name != 'Lobsters' -%>
|
||||
|
||||
<div class="story_text">
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<% render partial: 'about/subnav' %>
|
||||
|
||||
<div class="box wide">
|
||||
<div class="story_text">
|
||||
<p>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<% render partial: 'about/subnav' %>
|
||||
|
||||
<div class="box wide">
|
||||
|
||||
<h2>New users by month</h2>
|
||||
|
|
Loading…
Reference in New Issue