##// END OF EJS Templates
diffs: use whole chunk diff to calculate if it's oversized or not....
diffs: use whole chunk diff to calculate if it's oversized or not. - This fixes an issue if a file is added that has very large number of small lines. In this case the time to detect if the diff should be limited was very very long and CPU intensive.

File last commit:

r1502:f2363971 default
r2070:7939c6bf default
Show More
user.mako
46 lines | 1.6 KiB | application/x-mako | MakoHtmlLexer
<%inherit file="/base/base.mako"/>
<%def name="title()">
${c.user.username}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
${c.user.username}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='my_account')}
</%def>
<%def name="main()">
<div class="box">
<div class="title">
${self.breadcrumbs()}
</div>
<div class="sidebar-col-wrapper scw-small">
##main
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
<li class="${'active' if c.active=='user_profile' else ''}">
<a href="${h.route_path('user_profile', username=c.user.username)}">${_('Profile')}</a></li>
## These placeholders are here only for styling purposes. For every new item added to the list, you should remove one placeholder
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
<li class="placeholder"><a href="#" style="visibility: hidden;">placeholder</a></li>
</ul>
</div>
<div class="main-content-full-width">
<%include file="/users/${c.active}.mako"/>
</div>
</div>
</div>
</%def>