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.
2012-07-25 07:10:15 +00:00
|
|
|
<div class="map-block">
|
2012-07-26 07:37:29 +00:00
|
|
|
<h4><%= sitemap_block.i18n_variable[I18n.locale] %><button class="onoff pull-right"><%= sitemap_block.sitemap_enabled ? t('on_upcase') : t('off_upcase') %></button></h4>
|
|
|
|
<ul>
|
|
|
|
<% sitemap_block.children.each do |child| %>
|
|
|
|
<li class="clear <%= 'disabled' if !child.sitemap_enabled %>">
|
|
|
|
<%= child.i18n_variable[I18n.locale] %>
|
|
|
|
<button id="<%= child.id %>" class="onoff pull-right">
|
|
|
|
<%= child.sitemap_enabled ? t('on_upcase') : t('off_upcase') %>
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<% end if sitemap_block.children %>
|
|
|
|
</ul>
|
2012-07-25 07:10:15 +00:00
|
|
|
</div>
|