only include source path element in url when multiple sources

This commit is contained in:
Alok Saldanha
2021-04-02 11:40:11 -04:00
parent b1ae9e8ce8
commit 5c488d8d5e
5 changed files with 36 additions and 20 deletions
@@ -48,7 +48,7 @@
<tr>
<td>{{ entry.pid }}</td>
<td><a
href="{{ url_for('do_view', path=entry.key.descriptor, source_name=entry.key.source_name) }}">{{ entry.key.h5ad_item.descriptor }}</a>
href="{{ entry.key.view_url }}">{{ entry.key.h5ad_item.descriptor }}</a>
</td>
<td>{{ entry.key.annotation_descriptor }}</td>
<td>{{ entry.source_name }}</td>