This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2013-10-09 09:05:29 +00:00
|
|
|
<li class="map-block <%= 'disabled' if !sitemap_block.show_in_sitemap_for(temp_locale) %>">
|
2013-10-07 07:04:41 +00:00
|
|
|
<h6>
|
2013-10-09 09:05:29 +00:00
|
|
|
<input type="checkbox" id="<%= sitemap_block.id %>" class="toggle-check onoff" temp_locale="<%= temp_locale %>" data-deploy="right">
|
2013-10-07 07:04:41 +00:00
|
|
|
<span><%= sitemap_block_counter + 1 %> <%= sitemap_block.title_translations[temp_locale] %></span>
|
|
|
|
</h6>
|
|
|
|
<ul>
|
|
|
|
<% sitemap_block.children.each_with_index do |child, i| %>
|
2013-10-09 09:05:29 +00:00
|
|
|
<li "clear <%= 'disabled' if !child.show_in_sitemap_for(temp_locale) %>">
|
2013-08-28 10:29:21 +00:00
|
|
|
<h6>
|
2013-10-09 09:05:29 +00:00
|
|
|
<input type="checkbox" id="<%= child.id %>" class="toggle-check onoff" temp_locale="<%= temp_locale %>" data-deploy="right">
|
2013-08-28 10:29:21 +00:00
|
|
|
<span><%= "#{sitemap_block_counter + 1}-#{i + 1}" %> <%= child.title_translations[temp_locale] %></span>
|
|
|
|
</h6>
|
2013-10-07 07:04:41 +00:00
|
|
|
</li>
|
2012-07-26 07:37:29 +00:00
|
|
|
<% end if sitemap_block.children %>
|
2013-10-07 07:04:41 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|