From 274bbaa53ebe0d06ff67266c551540e81b3ae487 Mon Sep 17 00:00:00 2001 From: "Andrew E. Bruno" Date: Wed, 9 Mar 2022 16:13:09 -0500 Subject: [PATCH] Don't open links in new tab --- .../templates/allocation/allocation_invoice_list.html | 2 +- .../core/allocation/templates/allocation/allocation_list.html | 4 ++-- .../core/project/templates/project/project_review_list.html | 2 +- coldfront/core/resource/templates/resource_list.html | 2 +- coldfront/core/user/templates/user/user_list_allocations.html | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/coldfront/core/allocation/templates/allocation/allocation_invoice_list.html b/coldfront/core/allocation/templates/allocation/allocation_invoice_list.html index 2eb2a40df..0c12e8052 100644 --- a/coldfront/core/allocation/templates/allocation/allocation_invoice_list.html +++ b/coldfront/core/allocation/templates/allocation/allocation_invoice_list.html @@ -25,7 +25,7 @@

Allocations that require payment

{% for allocation in allocation_list %} - {{allocation.pk}} + {{allocation.pk}} {{allocation.get_resources_as_string}} {{allocation.status}} {{allocation.project.pi.username }} diff --git a/coldfront/core/allocation/templates/allocation/allocation_list.html b/coldfront/core/allocation/templates/allocation/allocation_list.html index 51bd7946d..b4e33232b 100644 --- a/coldfront/core/allocation/templates/allocation/allocation_list.html +++ b/coldfront/core/allocation/templates/allocation/allocation_list.html @@ -77,8 +77,8 @@

Allocations

{% for allocation in allocation_list %} -
{{ allocation.id }} - {{ allocation.id }} + {{ allocation.project.title|truncatechars:50 }} {{allocation.project.pi.first_name}} {{allocation.project.pi.last_name}} ({{allocation.project.pi.username}}) diff --git a/coldfront/core/project/templates/project/project_review_list.html b/coldfront/core/project/templates/project/project_review_list.html index 31ebbc478..ed52d92ee 100644 --- a/coldfront/core/project/templates/project/project_review_list.html +++ b/coldfront/core/project/templates/project/project_review_list.html @@ -29,7 +29,7 @@

Pending Project Reviews

{% for project_review in project_review_list %} - {{project_review.project.title|truncatechars:50}} + {{project_review.project.title|truncatechars:50}} {{ project_review.created|date:"M. d, Y" }} {{project_review.project.pi.first_name}} {{project_review.project.pi.last_name}} ({{project_review.project.pi.username}}) {{ project_review.project.latest_grant.modified|date:"M. d, Y"|default:"No grants" }} diff --git a/coldfront/core/resource/templates/resource_list.html b/coldfront/core/resource/templates/resource_list.html index a1ad7eb9e..3aeef0cb0 100644 --- a/coldfront/core/resource/templates/resource_list.html +++ b/coldfront/core/resource/templates/resource_list.html @@ -67,7 +67,7 @@

Resources

{% for resource in resource_list %} - {{ resource.id }} + {{ resource.id }} {{ resource }} {{ resource.parent_resource }} {{ resource.resource_type.name }} diff --git a/coldfront/core/user/templates/user/user_list_allocations.html b/coldfront/core/user/templates/user/user_list_allocations.html index c1a7c1410..6856c7858 100644 --- a/coldfront/core/user/templates/user/user_list_allocations.html +++ b/coldfront/core/user/templates/user/user_list_allocations.html @@ -26,7 +26,7 @@ {{ user.last_name }} {% for allocation in allocations %} - {{ allocation.get_parent_resource.name }} ({{ allocation.get_parent_resource.resource_type.name }}) {% if 'slurm' in allocation.get_information %} -- {{allocation.get_information}} {% else %}
{% endif %} + {{ allocation.get_parent_resource.name }} ({{ allocation.get_parent_resource.resource_type.name }}) {% if 'slurm' in allocation.get_information %} -- {{allocation.get_information}} {% else %}
{% endif %} {% endfor %}