user: show your current IP in ip whitelist page

This commit is contained in:
Marcin Kuzminski 2017-04-20 11:02:47 +02:00
parent 81cfa0f585
commit d39b003e22

View file

@ -4,11 +4,12 @@
</div>
<div class="panel-body">
<div class="ips_wrap">
<h5>${_('Current IP address')}: <code>${c.rhodecode_user.ip_addr}</code></h5>
<table class="rctable ip-whitelist">
<tr>
<th>IP Address</th>
<th>IP Range</th>
<th>Description</th>
<th>${_('IP Address')}</th>
<th>${_('IP Range')}</th>
<th>${_('Description')}</th>
<th></th>
</tr>
%if c.default_user_ip_map and c.inherit_default_ips: