##// END OF EJS Templates
pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors....
pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors. - seems the latest pytest breaks older packages relying on pkg_resources when defining a entrypoints plugins - change the way we register plugins to be local only, this is what we need anyway

File last commit:

r4404:56b5a39d default
r4986:8782a2c5 default
Show More
comment_history.mako
30 lines | 1.0 KiB | application/x-mako | MakoHtmlLexer
<%namespace name="base" file="/base/base.mako"/>
<%
active_pattern_entries = h.get_active_pattern_entries(getattr(c, 'repo_name', None))
%>
## NOTE, inline styles are here to override the default rendering of
## the swal JS dialog which this template is displayed
<div style="text-align: left;">
<div style="border-bottom: 1px solid #dbd9da; padding-bottom: 5px; height: 20px">
<div class="pull-left">
${base.gravatar_with_user(c.comment_history.author.email, 16, tooltip=True)}
</div>
<div class="pull-right">
<code>edited: ${h.age_component(c.comment_history.created_on)}</code>
</div>
</div>
<div style="margin: 5px 0px">
<code>comment body at v${c.comment_history.version}:</code>
</div>
<div class="text" style="padding-top: 20px; border: 1px solid #dbd9da">
${h.render(c.comment_history.text, renderer=c.comment_history.comment.renderer, mentions=True, repo_name=getattr(c, 'repo_name', None), active_pattern_entries=active_pattern_entries)}
</div>
</div>