Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes the offset counter for the index header, wraps the article in…
… a list, and adds the ordered list to the document list.
- Loading branch information
mtribone
committed
May 3, 2018
1 parent
82c0d5a
commit 5481d50
Showing
3 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<% # container for a single doc -%> | ||
<article class="document <%= render_document_class document %> document-position-<%= document_counter%> " data-document-counter="<%= document_counter %>" itemscope itemtype="<%= document.itemtype %>"> | ||
<%= render_document_partials document, | ||
blacklight_config.view_config(document_index_view_type).partials, | ||
document_counter: document_counter %> | ||
</article> | ||
<li> | ||
<article class="document <%= render_document_class document %> document-position-<%= document_counter%> " data-document-counter="<%= document_counter %>" itemscope itemtype="<%= document.itemtype %>"> | ||
<%= render_document_partials document, | ||
blacklight_config.view_config(document_index_view_type).partials, | ||
document_counter: document_counter %> | ||
</article> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<% # container for all documents in index list view -%> | ||
<div id="documents" class="documents-<%= document_index_view_type %>"> | ||
<%= render documents, :as => :document %> | ||
<ol> | ||
<%= render documents, :as => :document %> | ||
</ol> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters