From: Diane Trout Date: Wed, 11 Jan 2017 23:05:03 +0000 (-0800) Subject: Update referring to admin changelink static icons X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=0cc7e6a7b7abe06536eba99fb4356924d69b84d8 Update referring to admin changelink static icons --- 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%}