diff --git a/circle/dashboard/templates/dashboard/template-edit.html b/circle/dashboard/templates/dashboard/template-edit.html index 38ebc23..64963e7 100644 --- a/circle/dashboard/templates/dashboard/template-edit.html +++ b/circle/dashboard/templates/dashboard/template-edit.html @@ -87,8 +87,9 @@ {% if user == object.owner %} {% blocktrans %}You are the current owner of this template.{% endblocktrans %} {% else %} + {% url "dashboard.views.profile" username=object.owner.username as url %} {% blocktrans with owner=object.owner name=object.owner.get_full_name%} - The current owner of this template is <strong>{{name}} ({{owner}})</strong>. + The current owner of this template is <a href="{{url}}">{{name}} ({{owner}})</a>. {% endblocktrans %} {% endif %} {% if user == object.owner or user.is_superuser %} diff --git a/circle/dashboard/templates/dashboard/vm-detail/access.html b/circle/dashboard/templates/dashboard/vm-detail/access.html index cfd96a0..065770d 100644 --- a/circle/dashboard/templates/dashboard/vm-detail/access.html +++ b/circle/dashboard/templates/dashboard/vm-detail/access.html @@ -4,8 +4,9 @@ {% if user == instance.owner %} {% blocktrans %}You are the current owner of this instance.{% endblocktrans %} {% else %} + {% url "dashboard.views.profile" username=instance.owner.username as url %} {% blocktrans with owner=instance.owner name=instance.owner.get_full_name%} - The current owner of this instance is <strong>{{name}} ({{owner}})</strong>. + The current owner of this instance is <a href="{{url}}">{{name}} ({{owner}})</a>. {% endblocktrans %} {% endif %} {% if user == instance.owner or user.is_superuser %}