Browse Source

Show datatype specific headings

Matthias Vogelgesang 7 years ago
parent
commit
831ab9578d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      nova/templates/dataset/detail.html

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

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