Skip to content

Commit

Permalink
LIMS-261: Use RCSB for links
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Williams committed Nov 6, 2024
1 parent 68c5aad commit 43e2c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/js/modules/samples/views/pdbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ define(['marionette', 'utils'], function(Marionette, utils) {

render: function() {
UserItem.__super__.render.call(this)
const linkButton = '<a class="button button-notext" href="https://www.wwpdb.org/pdb?id=pdb_0000'+this.model.get('CODE')+'"><i class="fa fa-link"></i> <span>PDB</span></a>'
const linkButton = '<a class="button button-notext" href="https://www.rcsb.org/structure/'+this.model.get('CODE')+'"><i class="fa fa-link"></i> <span>RCSB</span></a>'
const deleteButton = '<a class="button button-notext delete" href="#"><i class="fa fa-times"></i> <span>Delete</span></a>'
const downloadButton = '<a class="button button-notext download" href="'+app.apiurl+'/sample/pdbs/download/'+this.model.get('PDBID')+'"><i class="fa fa-download"></i> <span>Download</span></a>'
if (this.model.get('CODE')) {
Expand Down

0 comments on commit 43e2c69

Please sign in to comment.