##// END OF EJS Templates
auth: expose a option to calculate how we end up having super-admin permission....
auth: expose a option to calculate how we end up having super-admin permission. This is now used only for visual display. The old way is still faster for permissions calculation. - the extended way will be used in permission summary showing a much more detailed permission summary for super-admins.

File last commit:

r1951:965019b0 default
r2065:adc2d1ca default
Show More
file_tree_detail.mako
37 lines | 1007 B | application/x-mako | MakoHtmlLexer
<%namespace name="file_base" file="/files/base.mako"/>
<div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
<div class="left-label">
${_('Description')}:
</div>
<div class="commit right-content truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
</div>
<div class="fieldset collapsable-content" data-toggle="summary-details">
<div class="left-label">
${_('Description')}:
</div>
<div class="commit right-content">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
</div>
<div class="fieldset">
<div class="left-label">
${_('References')}:
</div>
<div class="right-content">
<div class="tags">
<code>
<a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a>
</code>
${file_base.refs(c.commit)}
</div>
</div>
</div>
<script>
collapsableContent();
</script>