##// END OF EJS Templates
permissions: flush all user permissions in case of default user permission changes....
permissions: flush all user permissions in case of default user permission changes. - this is a special case that due to inheritance we need to flush ALL users permissions - before the default permission changes didn't flush the caches result in cached values beeing present until the cache expires

File last commit:

r4046:a792f9c3 default
r4187:0268c0ee stable
Show More
hovercard_pull_request.mako
25 lines | 892 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / hovercards / hovercard_pull_request.mako
dan
hovercards: allow hovercards on parsed !PR patterns....
r4046 <%namespace name="base" file="/base/base.mako"/>
<%namespace name="dt" file="/data_table/_dt_elements.mako"/>
% if c.can_view_pr:
<div class="pr-hovercard-header">
<div class="pull-left tagtag">
${c.pull_request.status}
</div>
<div class="pr-hovercard-user">
${_('Created')}: ${h.format_date(c.pull_request.created_on)}
</div>
</div>
<div class="pr-hovercard-title">
<h3><a href="${h.route_path('pull_requests_global', pull_request_id=c.pull_request.pull_request_id)}">!${c.pull_request.pull_request_id}</a> - ${c.pull_request.title}</h3>
</div>
<div class="pr-hovercard-footer">
${_('repo')}: ${c.pull_request.target_repo.repo_name}
</div>
% else:
## user cannot view this PR we just show the generic info, without any exposed data
<div class="pr-hovercard-title">
<h3>${_('Pull Request')} !${c.pull_request.pull_request_id}</h3>
</div>
% endif