Skip to content

Commit

Permalink
Show common names in taxon management page (#4156)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Aug 16, 2024
1 parent f407f3d commit 0a05a92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions bims/static/js/taxa_management/taxa_management.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ export const taxaManagement = (() => {
return data.split(',').map(tag => `<span class="badge badge-info">${tag}</span>`).join('');
}
},
{"data": "common_name", "className": "min-width-100", "sortable": false},
{"data": "rank", "className": "min-width-100"},
{"data": "iucn_status_full_name", "orderData": [8], "orderField": "iucn_status__category"},
// {"data": "origin_name"},
Expand Down
2 changes: 1 addition & 1 deletion bims/templates/edit_taxon.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2>

<div class="form-group row">
<label for="tags" class="col-sm-2 col-form-label col-form-label">
Biographic distribution
Biographic distributions
</label>
<div class="col-sm-10">
<select id="biographic-tag-auto-complete" data-placeholder="Search for a biographic distribution" name="biographic_distributions" class="tag-auto-complete form-control" multiple="multiple" data-add-new-tag="true"></select>
Expand Down
3 changes: 2 additions & 1 deletion bims/templates/taxa_management.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ <h2>Taxon Management</h2>
<th scope="col">Genus</th>
<th scope="col">Species</th>
<th scope="col">Author(s)</th>
<th scope="col">Biographic distribution</th>
<th scope="col">Biographic distributions</th>
<th scope="col">Common name</th>
<th scope="col">Rank</th>
<th scope="col">Cons. Status
</th>
Expand Down

0 comments on commit 0a05a92

Please sign in to comment.