Sha256: 19365a4a31e1ce903cf7c94098cbf6c4a3e559bdec24f716cef1df1708f93589

Contents?: true

Size: 1.32 KB

Versions: 12

Compression:

Stored size: 1.32 KB

Contents

<% @pages.each_with_index do |page, i| %>
	
	<div id="div_page_<%= page.id %>" class="kuppayam-feed">
		
		<div class="row">
			<div class="col-md-8">
				<% if page.feature %>
					<%= link_to raw("<i class='fa-file mr-10'></i>#{page.name}"), page_path(page), remote: true, style: "font-size: 20px;font-weight:800;color:#cc3f44;" %>
					( <%= content_tag :span, page.feature.try(:display_name) if page.feature %> )
				<% else %>
					<%= link_to raw("<i class='fa-file mr-10'></i>#{page.name}"), page_path(page), remote: true, style: "font-size: 20px;font-weight:800;" %>
				<% end %>
				<span class="ml-10" style="font-size:16px;"><%= display_publishable_status(page) if @current_user.super_admin? %></span>
			</div>
			<% if @current_user.super_admin? %>
				<div class="col-md-4 action-links">
					<% if page.feature %>
						<%= display_manage_links(page, @current_user) if @current_user.super_admin? %>
					<% else %>
						<%= display_manage_links(page, @current_user) %>
					<% end %>
					<%= display_publishable_links(page) %>
				</div>
			<% end %>
		</div>

		<%= clear_tag(20) %>
		<div id="div_section_list_for_page_<%= page.id %>">
			<%= render partial: "dhatu/sections/index", locals: {page: page} %>
		</div>

	</div>

<% end %>

<div class="row">
  <div class="col-sm-12">
    <%= paginate_kuppayam(@pages) %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhatu-0.3.9.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.8.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.7.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.6.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.5.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.4.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.3.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.2.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.1.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.3.0.pre.materialize app/views/dhatu/pages/_index.html.erb
dhatu-0.2.3 app/views/dhatu/pages/_index.html.erb
dhatu-0.2.2 app/views/dhatu/pages/_index.html.erb