From 0cc7e6a7b7abe06536eba99fb4356924d69b84d8 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 11 Jan 2017 15:05:03 -0800 Subject: [PATCH] Update referring to admin changelink static icons --- experiments/templates/experiments/flowcell_detail.html | 4 ++-- experiments/templates/experiments/flowcell_header.html | 4 ++-- htsworkflow/templates/sample_header.html | 4 ++-- htsworkflow/templates/samples/library_detail.html | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/experiments/templates/experiments/flowcell_detail.html b/experiments/templates/experiments/flowcell_detail.html index 64da7e2..9516346 100644 --- a/experiments/templates/experiments/flowcell_detail.html +++ b/experiments/templates/experiments/flowcell_detail.html @@ -1,5 +1,5 @@ {% extends "base_site.html" %} -{% load staticfiles %} +{% load static %} {% load humanize i18n %} {% block extrahead %} @@ -42,7 +42,7 @@ {% if user.is_staff %} + src="{% static "admin/img/icon-changelink.svg" %}"/> {% endif %} diff --git a/experiments/templates/experiments/flowcell_header.html b/experiments/templates/experiments/flowcell_header.html index d9d2960..cd2183b 100644 --- a/experiments/templates/experiments/flowcell_header.html +++ b/experiments/templates/experiments/flowcell_header.html @@ -1,8 +1,8 @@ -{% load staticfiles %} +{% load static %}

About this Flowcell

Flowcell: - {{flowcell.flowcell_id}}{% if user.is_staff %}Edit{% endif%} + {{flowcell.flowcell_id}}{% if user.is_staff %}Edit{% endif%}
@@ -6,7 +6,7 @@

Library Name

Library ID: {{ lib.id }} - {% if user.is_staff %}Edit{% endif %} + {% if user.is_staff %}Edit{% endif %}
Name: {{ lib.library_name }} diff --git a/htsworkflow/templates/samples/library_detail.html b/htsworkflow/templates/samples/library_detail.html index 4966393..158428e 100644 --- a/htsworkflow/templates/samples/library_detail.html +++ b/htsworkflow/templates/samples/library_detail.html @@ -1,5 +1,5 @@ {% extends "base_site.html" %} -{% load staticfiles %} +{% load static %} {% load humanize i18n %} {% block extrahead %} @@ -34,7 +34,7 @@ {{ result.run_date|date}} {{ result.cycle }} - {{ result.flowcell_id }}{% if user.is_staff %}Edit{% endif%} + {{ result.flowcell_id }}{% if user.is_staff %}Edit{% endif%} {{ result.lane.lane_number }} Summary {{ result.result_label }} @@ -143,7 +143,7 @@ {% if user.is_staff %} Edit + src="{% static "admin/img/icon-changelink.svg" %}" alt="Edit"/> {% endif%} -- 2.30.2