<div id="context_wrapper" class="inside-column">
  <p>
  <%= link_to("Read pages that mention #{@article.title} in all works.",
              :controller => 'display',
              :action => 'read_all_works',
              :article_id => @article.id) %>
  </p>
		<p><%= link_to("Graph of subjects related to #{@article.title}",
                  { :controller => 'article',
                    :action => 'graph',
                    :article_id => @article.id }) %>
		</p>
		<p>Pages that refer to <%= @article.title %>:</p>
		<p>
		 <% for link in @article.page_article_links %>
		   <%= link_to(link.page.title,
		               { :controller => 'display',
		                 :action=> 'display_page',
		                 :page_id => link.page.id })%>
		   (<%= raw(link.display_text) %>)<br />
		 <% end %>
		</p>
		<p>Subject articles that refer to <%= @article.title %>:</p>
		<p>
		 <% for link in @article.target_article_links %>
		   <%= link_to(link.source_article.title,
		               { :controller => 'article',
		                 :action=> 'show',
		                 :article_id => link.source_article.id })%>
		   (<%= link.display_text %>)<br />
		 <% end %>
		</p>
	</div>
</div>

<div id="context_wrapper" class="inside-column">
  <p>
  <%= link_to("Read pages that mention #{@article.title} in all works.",
              :controller => 'display',
              :action => 'read_all_works',
              :article_id => @article.id) %>
  </p>
		<p><%= link_to("Graph of subjects related to #{@article.title}",
                  { :controller => 'article',
                    :action => 'graph',
                    :article_id => @article.id }) %>
		</p>
		<p>Pages that refer to <%= @article.title %>:</p>
		<p>
		 <% for link in @article.page_article_links %>
		   <%= link_to(link.page.title,
		               { :controller => 'display',
		                 :action=> 'display_page',
		                 :page_id => link.page.id })%>
		   (<%= raw(link.display_text) %>)<br />
		 <% end %>
		</p>
		<% if @article.target_article_links.count > 0 %>
			<p>Subject articles that refer to <%= @article.title %>:</p>
			<p>
			 <% for link in @article.target_article_links %>
			   <%= link_to(link.source_article.title,
			               { :controller => 'article',
			                 :action=> 'show',
			                 :article_id => link.source_article.id })%>
			   (<%= link.display_text %>)<br />
			 <% end %>
			</p>
		<% end %>
	</div>
</div>

Remove inter-article links section unless they exist
Remove inter-article links section unless they exist
