Revision: 328479eaa516
Author:   Mikko Korpela <[email protected]>
Date:     Thu Feb 23 05:48:07 2012
Log:      testdoc: tags only displayed if they exists
http://code.google.com/p/robotframework/source/detail?r=328479eaa516

Modified:
 /src/robot/webcontent/testdoc.html

=======================================
--- /src/robot/webcontent/testdoc.html  Thu Feb 23 05:42:28 2012
+++ /src/robot/webcontent/testdoc.html  Thu Feb 23 05:48:07 2012
@@ -180,10 +180,12 @@
           <td>{{html doc}}</td>
         </tr>
         {{/if}}
+        {{if tags.length}}
         <tr>
-            <th>Tags:</th>
-            <td>${tags}</td>
+          <th>Tags:</th>
+          <td>${tags.join(', ')}</td>
         </tr>
+        {{/if}}
         {{if timeout}}
         <tr>
           <th>Timeout:</th>

Reply via email to