Sha256: 580a06c12b3dc188945ec987feef56093f54cd8d889bc0219d30c31b91605f78

Contents?: true

Size: 285 Bytes

Versions: 15

Compression:

Stored size: 285 Bytes

Contents

<div id='top_nav'>
  <% if (@user.nil? || @user.id == Caboose::User::LOGGED_OUT_USER_ID) %>
    <%= link_to "Login", "/login?return_url=#{request.fullpath}", :id => 'caboose_login' %>
  <% else %>
    <%= link_to "Control Panel", '#', :id => 'caboose_conductor' %>
  <% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
caboose-cms-0.1.93 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.92 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.91 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.78 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.35 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.34 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.7 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.6 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.5 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.4 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.3 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.2 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.1 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.1.0 app/views/layouts/caboose/_top_nav.html.erb
caboose-cms-0.0.7 app/views/layouts/caboose/_top_nav.html.erb