Skip to content

Commit b0b8403

Browse files
committed
Update asset title layout
1 parent 4c446a4 commit b0b8403

File tree

1 file changed

+4
-2
lines changed
  • runtimes/eoapi/stac/eoapi/stac/templates

1 file changed

+4
-2
lines changed

runtimes/eoapi/stac/eoapi/stac/templates/item.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ <h2 class="mt-5">Assets</h2>
4949
<ul class="list-unstyled">
5050
{% for key, asset in response.assets.items() %}
5151
<li class="mb-4">
52-
<p class="small text-monospace text-muted mb-0">{{ key }}</p>
53-
{% if asset.title %}<p class="mb-0"><b>{{ asset.title }}</b></p>{% endif %}
52+
<p class="mb-0 font-weight-bold ">
53+
<span class="text-muted text-monospace">{{ key }}</span>
54+
{% if asset.title and not key == asset.title %} &bull; {{ asset.title }}{% endif %}
55+
</p>
5456
{% if asset.type %}<p class="mb-0">{{ asset.type }}</p>{% endif %}
5557
{% if asset.description %}<p class="mb-0">{{ asset.description }}</p>{% endif %}
5658
<ul class="list-inline">

0 commit comments

Comments
 (0)