anchor.diff:  <script type="text/javascript" src="bootstrap/js/bootstrap.min.js">
   </script>
   <script type="text/javascript">
  +    var lastPath;
  +    var lastTitle;
  +    var lastAllStates;
  +
  +    function noAllStatesShow(state) {
  +        doShow(state, false);
  +    }
  +
       function show(state) {
  +        doShow(state, true);
  +    }
  +
  +    function doShow(state, allStates) {
           var items = [];
           $.each(state, function(id, content) {
  -            items.push('<tr><td>' + content.entity.name + ' <a href="#" onClick="update(\'states/' + content.entity.name
  -                               + '/\', \'Details for ' + content.entity.name
  -                               + '\'); return false">(details)</a></td><td>' + new Date(content.date) + '</td><td>'
  -                               + content.component + ': ' + content.stateName + '</td><td>' + (content.message == null
  -                    ? '' : content.message) + '</td></tr>');
  +            allStatesLink = allStates ? ' <a href="#" onClick="update(\'states/' + content.entity.name
  +                    + '/\', \'Details for ' + content.entity.name + '\'); return false">(show all states)</a>' : '';
  +            items.push('<tr><td>' + content.entity.name + allStatesLink + '</td><td>' + new Date(content.date)
  +                               + '</td><td>' + content.component + ': ' + content.stateName + '</td><td>' + (content
  +                    .message == null ? '' : content.message) + '</td></tr>');
           });
   
           $('<tbody/>', {
  
positive.code:             <a class="brand" href="index.jsp">Ingest Monitor</a>
  
              <div class="nav-collapse">
                  <div class="btn-group">
                      <button class="btn" id="inprogress">In Progress</button>
                      <button class="btn" id="failed">Failed</button>
                      <button class="btn" id="done">Done</button>
                  </div>
              </div>
              <!--/.nav-collapse -->
  
negative.code:   #L%
    --%><!DOCTYPE html>
  <% String FAILED_STATE = application.getInitParameter("failed-state");
      String DONE_STATE = application.getInitParameter("done-state");
      String WORKFLOWSTATEMONITOR_SERVICE = application.getInitParameter("workflowstatemonitorservice");
  %>
  <html lang="en">
  <head>
      <title>Ingest Monitor</title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
  