Skip to content

Commit ce48168

Browse files
authored
Add target="_blank" to Fluorophore Efficiency Report link for new tab opening (#410)
1 parent 8fcdc79 commit ce48168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/proteins/templates/proteins/_microscope_include.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
</div>
292292
{% endif %}
293293

294-
<div id="efficiencyRow" class="text-center mt-2" id="efflink"><a class="btn btn-secondary" href="{% url 'proteins:microscope-report' object.id %}" role="button">{% icon "table" class_="me-2" %}Fluorophore Efficiency Report</a></div>
294+
<div id="efficiencyRow" class="text-center mt-2" id="efflink"><a class="btn btn-secondary" href="{% url 'proteins:microscope-report' object.id %}" target="_blank" role="button">{% icon "table" class_="me-2" %}Fluorophore Efficiency Report</a></div>
295295

296296
<div class="hidden" id='linkSVG'>{% icon "external-link" %}</div>
297297
<svg height="8" width="8" xmlns="http://www.w3.org/2000/svg" version="1.1"> <defs> <pattern id="crosshatch" patternUnits="userSpaceOnUse" width="8" height="8"> <image xlink:href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc4JyBoZWlnaHQ9JzgnPgogIDxyZWN0IHdpZHRoPSc4JyBoZWlnaHQ9JzgnIGZpbGw9JyNmZmYnLz4KICA8cGF0aCBkPSdNMCAwTDggOFpNOCAwTDAgOFonIHN0cm9rZS13aWR0aD0nMC41JyBzdHJva2U9JyNhYWEnLz4KPC9zdmc+Cg==" x="0" y="0" width="8" height="8"> </image> </pattern> </defs> </svg>

0 commit comments

Comments
 (0)