Sha256: 3f7394037e4a33b2c7e9f7d7598de65ffa2e0ef1757469280e9dcf8f58798fbc
Contents?: true
Size: 1.81 KB
Versions: 2
Compression:
Stored size: 1.81 KB
Contents
<% content_tag :div, :class => 'cms_edit_connectable' do -%> <% content_tag :div, :class => 'toolbar' do -%> <%= link_to image_tag("cms/pages/show_connectable.gif"), cms_connectable_path(connectable), :title => "View this content (#{connectable.name})" %> <%= link_to image_tag("cms/pages/edit_connectable.gif"), edit_cms_connectable_path(connectable, :_redirect_to => @page.path), :title => "Edit this content (#{connectable.name})" %> <% if @page.connectors.for_page_version(@page.version).in_container(connector.container).count > 1 -%> <%= link_to image_tag("cms/pages/up_connectable.gif"), move_up_cms_connector_path(connector), :class => "http_put", :title => "Move this content up (#{connectable.name})" %> <%= link_to image_tag("cms/pages/down_connectable.gif"), move_down_cms_connector_path(connector), :class => "http_put", :title => "Move this content down (#{connectable.name})" %> <% else -%> <%= image_tag("cms/pages/up_connectable_disabled.gif") %> <%= image_tag("cms/pages/down_connectable_disabled.gif") %> <% end -%> <%= link_to image_tag("cms/pages/delete_connectable.gif"), cms_connector_path(connector, :_redirect_to => @page.path), :class => "confirm_with_title http_delete", :title => "Remove this content from page (#{connectable.name}). It will remain available in the Content Library." %> <%= status_icon connector.status, :class => "published_status", :title => connector.live? ? "This content is published and can be seen by site visitors." : "This content is a draft and won't be seen by site visitors until this page is published." %> <% end -%> <%= render_connectable connectable %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webficient-browsercms-3.0.3 | app/views/cms/pages/_edit_connector.html.erb |
webficient-browsercms-3.0.4 | app/views/cms/pages/_edit_connector.html.erb |