Skip to content

Commit

Permalink
Add link to RCSB PDB from structures
Browse files Browse the repository at this point in the history
Refs #2072
  • Loading branch information
kimrutherford committed Aug 8, 2023
1 parent 34beb32 commit 323e71d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ export interface AppConfig {
ebi_tools_url: string;
pdbe_entry_url: string;
pdbe_image_url: string;
rcsb_pdb_entry_url: string;
seq_and_features_download_url?: string;
canto_url: string;
intermine?: {
Expand Down Expand Up @@ -751,6 +752,7 @@ let _appConfig: AppConfig = {
ebi_tools_url: pombaseConfig.ebi_tools_url,
pdbe_entry_url: pombaseConfig.pdbe_entry_url,
pdbe_image_url: pombaseConfig.pdbe_image_url,
rcsb_pdb_entry_url: pombaseConfig.rcsb_pdb_entry_url,
seq_and_features_download_url: pombaseConfig.seq_and_features_download_url,
canto_url: pombaseConfig.canto_url,
intermine: pombaseConfig.intermine,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
</td>
<td class="pdb-entry-detail">
<a [attr.href]="appConfig.pdbe_entry_url + '/' + pdbEntry.pdb_id"
[title]="'Visit the PDBe page for ' + pdbEntry.pdb_id">PDBe</a>
[title]="'Visit the PDBe page for ' + pdbEntry.pdb_id">PDBe</a> |
<a [attr.href]="appConfig.rcsb_pdb_entry_url + '/' + pdbEntry.pdb_id"
[title]="'Visit the RCSB PDB page for ' + pdbEntry.pdb_id">RCSB</a>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 323e71d

Please sign in to comment.