Sha256: e7a7e96e6a6898e846d6431351c87b3c237be941f97165c3e05510db6aacd694

Contents?: true

Size: 693 Bytes

Versions: 7

Compression:

Stored size: 693 Bytes

Contents

<%- if user_has_permission?(:manage_cms) || user_has_permission?(:manage_users) -%>
<h2>
  Manage Your Site
</h2>

<%= flash_message %>

<p>
  <ul>
    <%- if user_has_permission? :manage_cms -%>
    <li><%= link_to 'CMS', manage_cms_path %>
        - Manage content management system</li>
    <%- end -%>
    <%- if user_has_permission? :manage_users -%>
    <li><%= link_to 'Users', :controller => '/management/users', :action => 'index' %>
        - Grant management access to employees</li>
    <%- end -%>
  </ul>
</p>
<%- end -%>

<p>
  <ul>
    <li><%= link_to 'Change your password', :controller => '/management/users', :action => 'edit', :id => session[:user_id] %></li>
  </ul>
</p>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
imagine_cms-5.2.6 app/views/management/default/index.html.erb
imagine_cms-5.2.5 app/views/management/default/index.html.erb
imagine_cms-5.2.4 app/views/management/default/index.html.erb
imagine_cms-5.2.3 app/views/management/default/index.html.erb
imagine_cms-5.2.2 app/views/management/default/index.html.erb
imagine_cms-5.2.1 app/views/management/default/index.html.erb
imagine_cms-5.2.0 app/views/management/default/index.html.erb