diff options
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 245ecf41..025ae797 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -88,6 +88,23 @@ </p> {% endfor %} </td> + {% if show_contexts -%} + <td class="contexts"> + {% for line in lines -%} + <p>{#-#} + {% if line.contexts -%} + <span class="context-button">ctx</span>{#-#} + <span class="context-list"> + {% for context in line.contexts -%} + <span class="context-line">{{context}}</span>{#-#} + {% endfor -%} + </span>{#-#} + {% endif -%} + + </p>{#-#} + {% endfor %} + </td> + {% endif -%} </tr> </table> </div> |