summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/pyfile.html
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r--coverage/htmlfiles/pyfile.html17
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 -%}
+ &nbsp;
+ </p>{#-#}
+ {% endfor %}
+ </td>
+ {% endif -%}
</tr>
</table>
</div>