Browse Source

Show dataset name in heading

Matthias Vogelgesang 7 years ago
parent
commit
657b06177a
1 changed files with 6 additions and 3 deletions
  1. 6 3
      nova/templates/dataset/detail.html

+ 6 - 3
nova/templates/dataset/detail.html

@@ -32,13 +32,16 @@
 <div class="row">
   <div class="col-lg-12">
     <div class="page-header">
+      <h2>
 {% if dataset.type == "samplescan" %}
-      <h2>Sample scan</h2>
+      Sample scan
 {% elif dataset.type == "volume" %}
-      <h2>Volume</h2>
+      Volume
 {% else %}
-      <h2>Information</h2>
+      Information
 {% endif %}
+      – {{ dataset.name }}
+      </h2>
     </div>
   </div>
 </div>