From 1194bdd9b4b66a68d5d84d922bd86999ea72c6c1 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Mon, 7 Oct 2013 15:04:41 +0800 Subject: [PATCH] Updated Sitemap with UI fixes - checkbox tag pending --- app/views/admin/sites/_sitemap_block.html.erb | 16 +++++++++++----- app/views/admin/sites/sitemap.html.erb | 5 +++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/app/views/admin/sites/_sitemap_block.html.erb b/app/views/admin/sites/_sitemap_block.html.erb index 4dab5b93f..9f53768e7 100644 --- a/app/views/admin/sites/_sitemap_block.html.erb +++ b/app/views/admin/sites/_sitemap_block.html.erb @@ -1,10 +1,16 @@ - <% sitemap_block.children.each_with_index do |child, i| %> -
  • "> +
  • +
    + + <%= sitemap_block_counter + 1 %> <%= sitemap_block.title_translations[temp_locale] %> +
    + +
  • \ No newline at end of file diff --git a/app/views/admin/sites/sitemap.html.erb b/app/views/admin/sites/sitemap.html.erb index 7e335075b..5b598fad4 100644 --- a/app/views/admin/sites/sitemap.html.erb +++ b/app/views/admin/sites/sitemap.html.erb @@ -13,8 +13,9 @@ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %> <% end %> -
    -
    +
    +

    Sitemap

    +