mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 13:02:39 +09:00
Merge pull request #714 from evrifaessa/master
When the client has logged in, show a link to his profile instead of still showing the "register" link
This commit is contained in:
1 file changed
+11
-1
@@ -14,7 +14,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if client %}
|
||||
<div class="grid_6 omega">
|
||||
<div class="box">
|
||||
<h2 class="big-dark-icon i-profile"><a href="{{ 'client/me'|link }}">{% trans 'Profile' %}</a></h2>
|
||||
<div class="block">
|
||||
<p>{% trans 'Manage your profile and keep it up to date' %}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="grid_6 omega">
|
||||
<div class="box">
|
||||
<h2 class="big-dark-icon i-profile"><a href="{{ '/login'|link({'register' : 1}) }}">{% trans 'Register' %}</a></h2>
|
||||
@@ -23,6 +32,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="grid_6 alpha">
|
||||
<div class="box">
|
||||
<h2 class="big-dark-icon i-email"><a href="{{ '/support/contact-us'|link }}">{% trans 'Contact Us' %}</a></h2>
|
||||
|
||||
Reference in new issue
Block a user