From 5bdb4cb3b5a9b50384f3cb7354592a3ee6f75ee6 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 11 Jun 2025 14:21:35 -0700 Subject: [PATCH] added backlinks --- app/templates/views/templates/copy.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/templates/views/templates/copy.html b/app/templates/views/templates/copy.html index c3170901f..7e636e27e 100644 --- a/app/templates/views/templates/copy.html +++ b/app/templates/views/templates/copy.html @@ -1,5 +1,6 @@ {% from "components/folder-path.html" import copy_folder_path, page_title_folder_path %} {% from "components/live-search.html" import live_search %} +{% from "components/components/back-link/macro.njk" import usaBackLink %} {% extends "withnav_template.html" %} {% set page_title = "Copy an existing template" %} @@ -8,6 +9,12 @@ {{ page_title }} {% endblock %} +{% block backLink %} + {% if not from_service %} + {{ usaBackLink({ "href": url_for('.choose_template', service_id=current_service.id), + "html": "Back to all templates" }) }} + {% endif %} +{% endblock %} {% block maincolumn_content %}