Sha256: 548f7e71a54d8df43fa5ecccb4db31b2c202c5759d80097f33a3656c5a4d1691

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

<% able_to? :edit_content, :publish_content do -%>
  <div id="nav">
  	<h1><%= link_to image_tag("cms/browsercms_logo.png"), "/", :target => "_top" %></h1>
    	<ul id="section">
      	<li<%= ' class="on"' if tab == :dashboard %>><%= link_to span_tag("My Dashboard"), cms_dashboard_path, :target => "_top" %></li>
        <% able_to?(:edit_content, :publish_content) do %><li<%= ' class="on"' if tab == :sitemap %>><%= link_to span_tag("Sitemap"), cms_sitemap_path, :target => "_top" %></li><% end %>
        <% able_to?(:edit_content, :publish_content) do %><li<%= ' class="on"' if tab == :content_library %>><%= link_to span_tag("Content Library"), cms_content_library_path, :target => "_top" %></li><% end %>
        <% able_to?(:administrate) do %><li<%= ' class="on"' if tab == :administration %>><%= link_to span_tag("Administration"), cms_administration_path, :target => "_top" %></li><% end %>
      </ul>
      <ul id="userlinks">
	<li id="user_info"><%= image_tag "cms/icons/user.png" %><span><%= current_user.full_name %></span></li>
      	<li><%= link_to "Logout", cms_logout_path, :class => "http_delete", :target => "_top" %></li>
      </ul>
      <% flash_class, flash_message = flash.to_a.first %>
      <div id="flash" style="display: none">
        <div id="message" class="<%= flash_class %>">
          <% if flash_message %><p><%= flash_message %></p><% end %>
        </div>
      </div>
  </div>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 app/views/layouts/_cms_toolbar.html.erb
nate-browsercms-3.0.211 app/views/layouts/_cms_toolbar.html.erb