           </button>
         </form>
         <a href="#" id="toggle-view-archived" class="btn btn-default">
-          Show archived tracings
+          <%= toggleViewArchivedText() %>
         </a>
+        <% if (showArchiveAllButton()) { %>
         <a href="#" id="archive-all" class="btn btn-default">
           Archive all
         </a>
+        <% } %>
       </div>
     <% } %>
 

              method="POST"
              class="form-inline inline-block">
          <select id="dataSetsSelect" name="dataSetName" class="form-control">
            <% activeDataSets.forEach(function(d) { %>
              <option value="<%= d.get("name") %>"> <%= d.get("name") %> </option>
            <% }) %>
          </select>

    toggleViewArchived : "#toggle-view-archived"
    archiveAllButton : "#archive-all"

  templateHelpers : ->
    activeDataSets : =>
      @activeDataSets
    showArchiveAllButton: =>
      !@showArchivedAnnotations
    toggleViewArchivedText: =>
      @toggleViewArchivedText()


  initialize : (options) ->
