Skip to content

Commit

Permalink
feat: Remove release and record tables
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 19, 2024
1 parent 59e1d60 commit eb21e2e
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 425 deletions.
83 changes: 1 addition & 82 deletions cove_ocds/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-19 05:34+0000\n"
"POT-Creation-Date: 2024-10-19 05:35+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -674,14 +674,10 @@ msgid "Is structurally correct?"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_record.html:105
#: cove_ocds/templates/cove_ocds/explore_record.html:167
#: cove_ocds/templates/cove_ocds/explore_record.html:168
msgid "No"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_record.html:105
#: cove_ocds/templates/cove_ocds/explore_record.html:167
#: cove_ocds/templates/cove_ocds/explore_record.html:168
msgid "Yes"
msgstr ""

Expand All @@ -693,19 +689,6 @@ msgstr ""
msgid "Unique OCIDs"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_record.html:144
msgid "Records Table:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_record.html:150
#, python-format
msgid "Showing the first %(releases_or_records_table_length)s records."
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_record.html:157
msgid "release count"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:22
msgid "OCDS release package schema version"
msgstr ""
Expand Down Expand Up @@ -974,70 +957,6 @@ msgstr ""
msgid "Statistics cannot be produced as data is not structurally correct."
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:340
msgid "Releases Table:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:346
#, python-format
msgid ""
"Showing the first %(releases_or_records_table_length)s releases. To explore "
"all your data in a tabular format, convert it to a spreadsheet using the "
"\"Convert\" section, above."
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:353
msgid "Release Date"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:354
msgid "Tags"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:355
msgid "Descriptions"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:356
msgid "Purchasers"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:368
msgid "Tender Title:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:371
msgid "Tender Description:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:375
msgid "Tender Item Description:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:380
msgid "Award Title:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:383
msgid "Award Description:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:388
msgid "Contract Title:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:391
msgid "Contract Description:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:399
msgid "Buyer:"
msgstr ""

#: cove_ocds/templates/cove_ocds/explore_release.html:405
msgid "Procuring Entity:"
msgstr ""

#: cove_ocds/templates/cove_ocds/input.html:6
msgid "Loading"
msgstr ""
Expand Down
149 changes: 64 additions & 85 deletions cove_ocds/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-19 05:34+0000\n"
"POT-Creation-Date: 2024-10-19 05:35+0000\n"
"PO-Revision-Date: 2020-09-08 08:53+0000\n"
"Last-Translator: James McKinney, 2024\n"
"Language-Team: Spanish (https://app.transifex.com/open-contracting-"
Expand Down Expand Up @@ -814,14 +814,10 @@ msgid "Is structurally correct?"
msgstr "¿Es estructuralmente correcto?"

#: cove_ocds/templates/cove_ocds/explore_record.html:105
#: cove_ocds/templates/cove_ocds/explore_record.html:167
#: cove_ocds/templates/cove_ocds/explore_record.html:168
msgid "No"
msgstr "No"

#: cove_ocds/templates/cove_ocds/explore_record.html:105
#: cove_ocds/templates/cove_ocds/explore_record.html:167
#: cove_ocds/templates/cove_ocds/explore_record.html:168
msgid "Yes"
msgstr "Si"

Expand All @@ -833,19 +829,6 @@ msgstr "Número de registros"
msgid "Unique OCIDs"
msgstr "OCIDs únicas"

#: cove_ocds/templates/cove_ocds/explore_record.html:144
msgid "Records Table:"
msgstr "Tabla de Registros:"

#: cove_ocds/templates/cove_ocds/explore_record.html:150
#, python-format
msgid "Showing the first %(releases_or_records_table_length)s records."
msgstr "Mostrando los primeros %(releases_or_records_table_length)s registros."

#: cove_ocds/templates/cove_ocds/explore_record.html:157
msgid "release count"
msgstr "cantidad de entregas"

#: cove_ocds/templates/cove_ocds/explore_release.html:22
msgid "OCDS release package schema version"
msgstr "Versión del esquema del paquete de entrega de OCDS"
Expand Down Expand Up @@ -1130,73 +1113,6 @@ msgstr ""
"No se pueden producir estadísticas porque los datos no son estructuralmente "
"correctos."

#: cove_ocds/templates/cove_ocds/explore_release.html:340
msgid "Releases Table:"
msgstr "Tabla de Entregas:"

#: cove_ocds/templates/cove_ocds/explore_release.html:346
#, python-format
msgid ""
"Showing the first %(releases_or_records_table_length)s releases. To explore "
"all your data in a tabular format, convert it to a spreadsheet using the "
"\"Convert\" section, above."
msgstr ""
"Mostrando los primeros %(releases_or_records_table_length)s lanzamientos. "
"Para explorar todos tus datos en formato tabular, conviértalos a una hoja de "
"cálculo usando la sección \"Convertir\", arriba."

#: cove_ocds/templates/cove_ocds/explore_release.html:353
msgid "Release Date"
msgstr "Fecha de Entrega"

#: cove_ocds/templates/cove_ocds/explore_release.html:354
msgid "Tags"
msgstr "Etiquetas"

#: cove_ocds/templates/cove_ocds/explore_release.html:355
msgid "Descriptions"
msgstr "Descripciones"

#: cove_ocds/templates/cove_ocds/explore_release.html:356
msgid "Purchasers"
msgstr "Compradores"

#: cove_ocds/templates/cove_ocds/explore_release.html:368
msgid "Tender Title:"
msgstr "Título de la Licitación:"

#: cove_ocds/templates/cove_ocds/explore_release.html:371
msgid "Tender Description:"
msgstr "Descripción de la Licitación:"

#: cove_ocds/templates/cove_ocds/explore_release.html:375
msgid "Tender Item Description:"
msgstr "Descripción del Artículo de la Licitación:"

#: cove_ocds/templates/cove_ocds/explore_release.html:380
msgid "Award Title:"
msgstr "Título de la Adjudicación:"

#: cove_ocds/templates/cove_ocds/explore_release.html:383
msgid "Award Description:"
msgstr "Descripción de la Adjudicación:"

#: cove_ocds/templates/cove_ocds/explore_release.html:388
msgid "Contract Title:"
msgstr "Título del Contrato:"

#: cove_ocds/templates/cove_ocds/explore_release.html:391
msgid "Contract Description:"
msgstr "Descripción del Contrato:"

#: cove_ocds/templates/cove_ocds/explore_release.html:399
msgid "Buyer:"
msgstr "Comprador:"

#: cove_ocds/templates/cove_ocds/explore_release.html:405
msgid "Procuring Entity:"
msgstr "Entidad Contratante:"

#: cove_ocds/templates/cove_ocds/input.html:6
msgid "Loading"
msgstr "Cargando"
Expand Down Expand Up @@ -1711,6 +1627,69 @@ msgstr "Error de referencia en JSON"
msgid "%(error)s"
msgstr "%(error)s"

#~ msgid "Records Table:"
#~ msgstr "Tabla de Registros:"

#, python-format
#~ msgid "Showing the first %(releases_or_records_table_length)s records."
#~ msgstr ""
#~ "Mostrando los primeros %(releases_or_records_table_length)s registros."

#~ msgid "release count"
#~ msgstr "cantidad de entregas"

#~ msgid "Releases Table:"
#~ msgstr "Tabla de Entregas:"

#, python-format
#~ msgid ""
#~ "Showing the first %(releases_or_records_table_length)s releases. To "
#~ "explore all your data in a tabular format, convert it to a spreadsheet "
#~ "using the \"Convert\" section, above."
#~ msgstr ""
#~ "Mostrando los primeros %(releases_or_records_table_length)s lanzamientos. "
#~ "Para explorar todos tus datos en formato tabular, conviértalos a una hoja "
#~ "de cálculo usando la sección \"Convertir\", arriba."

#~ msgid "Release Date"
#~ msgstr "Fecha de Entrega"

#~ msgid "Tags"
#~ msgstr "Etiquetas"

#~ msgid "Descriptions"
#~ msgstr "Descripciones"

#~ msgid "Purchasers"
#~ msgstr "Compradores"

#~ msgid "Tender Title:"
#~ msgstr "Título de la Licitación:"

#~ msgid "Tender Description:"
#~ msgstr "Descripción de la Licitación:"

#~ msgid "Tender Item Description:"
#~ msgstr "Descripción del Artículo de la Licitación:"

#~ msgid "Award Title:"
#~ msgstr "Título de la Adjudicación:"

#~ msgid "Award Description:"
#~ msgstr "Descripción de la Adjudicación:"

#~ msgid "Contract Title:"
#~ msgstr "Título del Contrato:"

#~ msgid "Contract Description:"
#~ msgstr "Descripción del Contrato:"

#~ msgid "Buyer:"
#~ msgstr "Comprador:"

#~ msgid "Procuring Entity:"
#~ msgstr "Entidad Contratante:"

#~ msgid "Explore your data:"
#~ msgstr "Explora tus datos:"

Expand Down
38 changes: 0 additions & 38 deletions cove_ocds/templates/cove_ocds/explore_record.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,43 +136,5 @@ <h4 class="panel-title">
</div>
</div>
</div><!--End Row -->
<div class="row"> <!--Start Row (Detail Table)-->
<div class="col-md-12">
<div class="panel panel-default" id="records-table-panel">
<div class="panel-heading">
<h4 class="panel-title">
{% trans "Records Table:" %}
</h4>
</div>
<div class="panel-body">
{% if records|length > releases_or_records_table_length %}
<p>
{% blocktrans %}Showing the first {{releases_or_records_table_length}} records.{% endblocktrans %}
</p>
{% endif %}
<table class="table table-striped">
<thead>
<tr>
<th>ocid</th>
<th>{% trans "release count" %}</th>
<th>compiledRelease</th>
<th>versionedRelease</th>
</tr>
</thead>
<tbody>
{% for record in records|slice:releases_or_records_table_slice %}
<tr>
<td>{{ record.ocid }}</td>
<td>{{ record.releases|length }}</td>
<td>{% if record.compiledRelease %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}</td>
<td>{% if record.versionedRelease %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div><!--End Row -->

{% endblock %}
Loading

0 comments on commit eb21e2e

Please sign in to comment.