Sha256: 2eeb8b9b979d7510bd16a889340b7cb1d14ddd70445a9548b99732e5229a9795

Contents?: true

Size: 662 Bytes

Versions: 11

Compression:

Stored size: 662 Bytes

Contents

<div id='caboose_station'>
<h2>Station</h2>
<ul>        
  <li><%= link_to 'My Account', "/users/#{@user.id}/edit" %></li>
  <li><%= link_to 'Logout', "/logout" %></li>
  <% if (@user.is_allowed('admin', 'view')) %> 
    <li><li><%= link_to 'Admin', "/admin" %></li></li>
  <% end %>
  <%
  uru = session['use_redirect_urls'].nil? ? true : session['use_redirect_urls']
  %>
  <li><a href="javascript:caboose_set_redirect_url(<%= uru ? '0' : '1' %>, this);"><%= uru ? 'Disable' : 'Enable' %> Redirect Urls</a></li>
  <% if (!@page_tasks.nil?) %>
    <% @page_tasks.each do |href, task| %>
      <li><%= link_to task, href %></li>
    <% end %>
  <% end %>
</ul>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
caboose-cms-0.1.35 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.34 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.7 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.6 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.5 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.4 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.3 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.2 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.1 lib/sample_files/caboose_station.html.erb
caboose-cms-0.1.0 lib/sample_files/caboose_station.html.erb
caboose-cms-0.0.7 lib/sample_files/caboose_station.html.erb