From 156b501e478b8e39fb44decd0147a275752b544b Mon Sep 17 00:00:00 2001 From: Giulio Gratta Date: Thu, 25 Jan 2018 14:16:40 -0800 Subject: [PATCH] Define Studio sock links in separate themable file --- cms/templates/widgets/sock.html | 39 +++----------------------- cms/templates/widgets/sock_links.html | 40 +++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 35 deletions(-) create mode 100644 cms/templates/widgets/sock_links.html diff --git a/cms/templates/widgets/sock.html b/cms/templates/widgets/sock.html index b271376a9c..15b1491e74 100644 --- a/cms/templates/widgets/sock.html +++ b/cms/templates/widgets/sock.html @@ -1,8 +1,10 @@ <%page expression_filter="h" args="online_help_token" /> <%! +from django.conf import settings from django.utils.translation import ugettext as _ -from django.core.urlresolvers import reverse %> +<%namespace file="sock_links.html" import="get_sock_links" /> +