]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 17 Aug 2023 03:42:40 +0000 (05:42 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 17 Aug 2023 03:42:40 +0000 (05:42 +0200)
- ops, don't link None

templates/views/infos.html

index 3421b3b625eb8c7e70a7768b3929a6b71beae707..0eb57d8efde998ebf1044dfb97e1ef0b567a7ca2 100644 (file)
 
     <tr>
         <td>Software:</td>
-        <td><a href="list?mode=software&amp;value={{instance['software']}}&amp;amount=50">{{instance['software']}}</a></td>
+        <td>
+            {% if instance['software'] != None %}
+                <a href="list?mode=software&amp;value={{instance['software']}}&amp;amount=50">{{instance['software']}}</a>
+            {% else %}
+                -
+            {% endif %}
+        </td>
     </tr>
 
     <tr>