emails: user app_url for user login ref

This commit is contained in:
Ben Spoon 2016-08-08 11:04:53 -07:00
parent 16dec04787
commit c07a87a2b4
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -39,7 +39,7 @@ def render_with_options(template=None):
app_logo="https://quay.io/static/img/quay-horizontal-color.svg", token="sdf8SdfKGRME9dse_dfdf",
app_link=app_link_handler, namespace="booboo", repository="foobar", organization="buynlarge",
admin_usernames=["lazercat", "booboocoreos"], teamname="creators", inviter="devtable",
hosted = "Quay" in app_title, app_title = app_title)
hosted = "Quay" in app_title, app_title = app_title, app_url="https://quay.io")
def get_templates():
""" Return a list of the available templates """