Sha256: 1bb819001b6daf017229d4b59fa2f1b404dedd19c2164a237ba745f57f01da8b

Contents?: true

Size: 567 Bytes

Versions: 4

Compression:

Stored size: 567 Bytes

Contents

<div id='top_nav'>
  <div class='caboose_logo'></div>
  <ul>
  <% if (@user.nil? || @user == Caboose::User.logged_out_user) %>
    <li><a href='/login?return_url=#{request.fullpath}' id='caboose_login'><span>Login</span></a></li>
  <% else %>
    <li class='cpanel'  ><a href='/station?page_id=<%= @page.id %>' id='caboose_station'><span>Control Panel</span></a></li>
    <li class='account' ><a href='/admin/users/<%= @user.id %>/edit'><span>Account</span></a></li>
    <li class='logout'  ><a href='/logout'><span>Logout</span></a></li>
  <% end %>
  </ul>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
caboose-cms-0.2.11 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.2.8 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.2.7 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.2.6 app/views/layouts/caboose/_top_nav.html.erb