Merge pull request #1694 from coreos-inc/fix-username-email

Fix "Your Account" link in emails
This commit is contained in:
josephschorr 2016-08-09 13:35:10 -04:00 committed by GitHub
commit 93f7f9b45b

View file

@ -61,9 +61,11 @@
</table> </table>
<table style="margin: 0 auto;"> <table style="margin: 0 auto;">
<tr style="font-size: 11px;" > <tr style="font-size: 11px;" >
<td><a style="color: #52A3D9;" href="{{app_url}}/user/{{username}}?tab=settings">Your Account</a></td> {% if username %}
<td><a style="color: #52A3D9;" href="{{ app_url }}/user/{{ username }}?tab=settings">Your Account</a></td>
{% endif %}
<td><a style="color: #52A3D9;" href="https://docs.quay.io/">Documentation</a></td> <td><a style="color: #52A3D9;" href="https://docs.quay.io/">Documentation</a></td>
<td><a style="color: #52A3D9;" href="{{app_url}}">Quay.io</a></td> <td><a style="color: #52A3D9;" href="{{ app_url }}">Quay.io</a></td>
</tr> </tr>
</table> </table>
{% endif %} {% endif %}