##// END OF EJS Templates
git: use bool condition to check if the git path is fine. Using exceptions...
git: use bool condition to check if the git path is fine. Using exceptions spams the logs with confusing tracebacks.

File last commit:

r1951:965019b0 default
r2452:c74b82e7 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>