<commit_before><%= render({ :partial => '/shared/work_tabs',
             :locals => { :selected =>1,
                          :work_id => @work.id }}) %>

<div class="two-columns">
	<div class="left-column">
	  <% for page in @pages %>
	    <div class="inside-column">
	      <h2><%= page.title %></h2>
	      <div>
	        <% if page.xml_text %>
	          <%= xml_to_html(page.xml_text, false) %>
	        <% else %>
            <% if logged_in? && current_user.can_transcribe?(@work) %>
              <p>
                <i>
                  <%= link_to('Help transcribe this page!',
                              { :controller => 'transcribe',
                                :action => 'display_page',
                                :page_id => page.id,
                                :ol => 'w_rw_p_tl' }) %>
                </i>
              </p>
            <% else %>
		          <p><i>No Transcription</i></p>
		        <% end %>
	        <% end %>
	      </div>
	      <div class="footer-links">
	        <%= link_to('page',
	                    { :action => 'display_page',
	                      :page_id => page.id,
                        :ol => 'w_rw_p_pl' }) %>
	      </div>
	
	    </div>
	  <% end %>	 
      <%= will_paginate @pages %>
	</div>
	
	<div class="right-column">
		<div class="inside-column">
        <h2>Categories in these pages</h2>
	      <p>
        <%= display_categories(@collection.categories, nil) do |category|
                controller.render_to_string(:partial => '/category/category_link',
                       :locals => { :category => category })
            end %>
      </p>
		</div>
		<!-- Check SVN for review code formerly here before bug 12 -->
<commit_msg>Added a commented-out stub for thumbnails<commit_after><%= render({ :partial => '/shared/work_tabs',
             :locals => { :selected =>1,
                          :work_id => @work.id }}) %>

<div class="two-columns">
	<div class="left-column">
	  <% for page in @pages %>
	    <div class="inside-column">
	      <h2><%= page.title %></h2>
	      <div>
	        <% if page.xml_text %>
	          <%= xml_to_html(page.xml_text, false) %>
	        <% else %>
            <% if logged_in? && current_user.can_transcribe?(@work) %>
              <p>
                <i>
                  <%= link_to('Help transcribe this page!',
                              { :controller => 'transcribe',
                                :action => 'display_page',
                                :page_id => page.id,
                                :ol => 'w_rw_p_tl' }) %>
                </i>
              </p>
            <% else %>
		          <p><i>No Transcription</i></p>
		        <% end %>
	        <% end %>
	        <!--
          <%= image_tag(file_to_url(page.scaled_image),
                        { :height => (page.base_height/page.shrink_factor/8), 
                          :width => (page.base_width/page.shrink_factor/8)}) %>
          -->
	      </div>
	      <div class="footer-links">
	        <%= link_to('page',
	                    { :action => 'display_page',
	                      :page_id => page.id,
                        :ol => 'w_rw_p_pl' }) %>
	      </div>
	
	    </div>
	  <% end %>	 
      <%= will_paginate @pages %>
	</div>
	
	<div class="right-column">
		<div class="inside-column">
        <h2>Categories in these pages</h2>
	      <p>
        <%= display_categories(@collection.categories, nil) do |category|
                controller.render_to_string(:partial => '/category/category_link',
                       :locals => { :category => category })
            end %>
      </p>
		</div>
		<!-- Check SVN for review code formerly here before bug 12 -->

{'fraction_non_alphanumeric': 0.16500404421677, 'fraction_numerical': 0.004313831221353465, 'mean_word_length': 1.3245614035087718, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 119, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1764034', 'n_tokens_mistral': 1226, 'n_tokens_neox': 1067, 'n_words': 208}