Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/apps/profiles/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def send_user_deletion_notice_to_admin(user):
'data_groups': data_groups,
'tasks': tasks,
'queues': queues,
'posts': posts
'posts': posts,
'domain': settings.DOMAIN_NAME
}
codalab_send_mail(
context_data=context,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h4>Organizations the user is part of:</h4>
<ul>
{% for organization in organizations.all %}
<li>
<a class="item" href="{% url 'profiles:organization_profile' pk=organization.id %}">
<a class="item" href="{{ domain }}{% url 'profiles:organization_profile' pk=organization.id %}">
{{ organization }}
</a>
</li>
Expand All @@ -47,7 +47,7 @@ <h4>Competitions the user is the owner:</h4>
<ul>
{% for competition in competitions_organizer.all %}
<li>
<a class="item" href="{% url 'competitions:detail' pk=competition.pk %}">
<a class="item" href="{{ domain }}{% url 'competitions:detail' pk=competition.pk %}">
{{ competition }}
</a>
</li>
Expand All @@ -58,7 +58,7 @@ <h4>Competitions the user participated in:</h4>
<ul>
{% for competition in competitions_participation.all %}
<li>
<a class="item" href="{% url 'competitions:detail' pk=competition.pk %}">
<a class="item" href="{{ domain }}{% url 'competitions:detail' pk=competition.pk %}">
{{ competition }}
</a>
</li>
Expand Down Expand Up @@ -94,7 +94,7 @@ <h4>Tasks created by the user</h4>
<ul>
{% for task in tasks.all %}
<li>
<a class="item" href="{% url 'tasks:detail' pk=task.pk %}">
<a class="item" href="{{ domain }}{% url 'tasks:detail' pk=task.pk %}">
{{ task }}
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<ul>
{% for organization in organizations.all %}
<li>
<a class="item" href="{% url 'profiles:organization_profile' pk=organization.id %}">
<a class="item" href="{{ domain }}{% url 'profiles:organization_profile' pk=organization.id %}">
{{ organization }}
</a>
</li>
Expand All @@ -47,7 +47,7 @@
<ul>
{% for competition in competitions_organizer.all %}
<li>
<a class="item" href="{% url 'competitions:detail' pk=competition.pk %}">
<a class="item" href="{{ domain }}{% url 'competitions:detail' pk=competition.pk %}">
{{ competition }}
</a>
</li>
Expand All @@ -58,7 +58,7 @@
<ul>
{% for competition in competitions_participation.all %}
<li>
<a class="item" href="{% url 'competitions:detail' pk=competition.pk %}">
<a class="item" href="{{ domain }}{% url 'competitions:detail' pk=competition.pk %}">
{{ competition }}
</a>
</li>
Expand Down Expand Up @@ -94,7 +94,7 @@
<ul>
{% for task in tasks.all %}
<li>
<a class="item" href="{% url 'tasks:detail' pk=task.pk %}">
<a class="item" href="{{ domain }}{% url 'tasks:detail' pk=task.pk %}">
{{ task }}
</a>
</li>
Expand Down