Skip to content

Commit

Permalink
fix: adopt format-integer function
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Jan 14, 2025
1 parent 5b1d005 commit 418325d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.xq
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let $content :=
else
<div id="about">
<h2>About</h2>
<p>“Terms” is a draft-stage database of terms drawn from the lists of terms and abbreviations in many volumes of the <em>Foreign Relations of the United States</em> series. It currently contains {format-number(count($terms), '#,###.##')} terms{(: , consolidated and de-duplicated from {format-number(count(collection('/db/apps/terms/data')//source-url[parent::original]), '#,###.##')} entries, and can be searched using the form above, downloaded as a complete dataset via the <a href="https://github.com/HistoryAtState/people">HistoryAtState/people</a> repository on GitHub, installed on ones computer as part of <a href="https://github.com/HistoryAtState/hsg-project">history.state.gov’s suite of eXist applications</a>, or accessed as an OpenRefine Reconciliation Service (see <a href="#openrefine">OpenRefine</a> below). :) () } To view a table of all terms, select <a href="{$terms:app-base}?view=all">View All</a>. Search hint: Use wildcards like ? (to represent a single character) or * (to represent any number of characters).</p>
<p>“Terms” is a draft-stage database of terms drawn from the lists of terms and abbreviations in many volumes of the <em>Foreign Relations of the United States</em> series. It currently contains {format-integer(count($terms), '0,000')} terms{(: , consolidated and de-duplicated from {format-integer(count(collection('/db/apps/terms/data')//source-url[parent::original]), '0,000')} entries, and can be searched using the form above, downloaded as a complete dataset via the <a href="https://github.com/HistoryAtState/people">HistoryAtState/people</a> repository on GitHub, installed on ones computer as part of <a href="https://github.com/HistoryAtState/hsg-project">history.state.gov’s suite of eXist applications</a>, or accessed as an OpenRefine Reconciliation Service (see <a href="#openrefine">OpenRefine</a> below). :) () } To view a table of all terms, select <a href="{$terms:app-base}?view=all">View All</a>. Search hint: Use wildcards like ? (to represent a single character) or * (to represent any number of characters).</p>
</div>
}
{
Expand Down

0 comments on commit 418325d

Please sign in to comment.