app/views/alchemy/admin/pages/index.html.erb in alchemy_cms-2.5.0.b5 vs app/views/alchemy/admin/pages/index.html.erb in alchemy_cms-2.5.0.b9

- old
+ new

@@ -1,17 +1,17 @@ <%- content_for(:subnav_additions) do -%> <%- unless @locked_pages.blank? -%> -<label><%= t('Active Pages') %> &raquo;</label> +<label><%= _t('Active Pages') %> &raquo;</label> <%- @locked_pages.each do |page| -%> <div class="subnavi_tab wide" id="locked_page_<%= page.id %>"> <%= link_to alchemy.edit_admin_page_path(page) do %> <span class="page_name" title="<%= page.name %>"> <%= truncate page.name, :length => 15 %> </span> <% end %> <%= form_tag(alchemy.unlock_admin_page_path(page), :remote => true) do %> - <button class="icon_button small" title="<%= t('explain_unlocking') %>"> + <button class="icon_button small" title="<%= _t('explain_unlocking') %>"> <%= render_icon('close small') %> </button> <% end %> </div> <%- end -%> @@ -27,13 +27,13 @@ render_icon('flush'), alchemy.flush_admin_pages_path, :remote => true, :method => :post, :class => 'icon_button please_wait', - :title => t('Flush page cache') + :title => _t('Flush page cache') ) -%> - <label><%= t('Flush page cache') %></label> + <label><%= _t('Flush page cache') %></label> </div> <%- end -%> <%- permitted_to?(:sort, :alchemy_admin_pages) do -%> <div class="button_with_label" id="page_sorting_button"> <%= link_to( @@ -41,47 +41,47 @@ alchemy.sort_admin_pages_path, :complete => '', :method => :get, :remote => true, :class => 'icon_button please_wait', - :title => t('Sort pages') + :title => _t('Sort pages') ) -%> - <label><%= t('Sort pages') %></label> + <label><%= _t('Sort pages') %></label> </div> <%- end -%> <div class="button_with_label" id="clipboard_button"> <%= link_to_overlay_window( render_icon("clipboard#{clipboard_empty?('pages') ? '' : ' full'}"), alchemy.admin_clipboard_path(:remarkable_type => 'pages'), { - :title => t('Clipboard'), + :title => _t('Clipboard'), :size => '380x270' }, :class => 'icon_button', - :title => t('Show clipboard') + :title => _t('Show clipboard') ) -%> - <label><%= t('Show clipboard') %></label> + <label><%= _t('Show clipboard') %></label> </div> </div> <%- end -%> <div id="archive_all"> <%- if @page_root -%> <div id="sort_panel" style="display: none"> <div class="info"> <%= render_icon('info') %> - <%= t('explain_sitemap_dragndrop_sorting') %> + <%= _t('explain_sitemap_dragndrop_sorting') %> </div> <div class="buttons"> - <%= link_to( t('cancel'), alchemy.admin_pages_path, :class => 'button' ) %>&nbsp; - <%= submit_tag( t('save order'), :id => 'save_page_order', :class => 'button' ) %> + <%= link_to( _t('cancel'), alchemy.admin_pages_path, :class => 'button' ) %>&nbsp; + <%= submit_tag( _t('save order'), :id => 'save_page_order', :class => 'button' ) %> </div> </div> <h2 id="sitemap_heading"> - <span class="page_name"><%= t('Name') %></span> - <span class="page_infos"><%= t('Status') %></span> + <span class="page_name"><%= _t('Name') %></span> + <span class="page_infos"><%= _t('Status') %></span> </h2> <%= render :partial => 'sitemap' %> <%- else -%>