From adc8239d8593d1cf269f6391fbd4cbc8795419b6 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Mon, 22 Apr 2024 14:56:17 +0200
Subject: [PATCH] make on hold submission links clickable

---
 ...oductionstream_details_summary_contents.html | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/scipost_django/production/templates/production/_productionstream_details_summary_contents.html b/scipost_django/production/templates/production/_productionstream_details_summary_contents.html
index c3ec77e4f..9559d05d0 100644
--- a/scipost_django/production/templates/production/_productionstream_details_summary_contents.html
+++ b/scipost_django/production/templates/production/_productionstream_details_summary_contents.html
@@ -72,18 +72,19 @@
             <div class="col-auto text-nowrap">
                 <small class="text-muted">Submitter</small>
                 <br>
-                {% if productionstream.submission.submitted_by.profile.email %}
-                    <a href="mailto:{{ productionstream.submission.submitted_by.profile.email }}?body=Dear%20{{ productionstream.submission.submitted_by.formal_str }},%0A%0A"
-                       class="text-primary"><span style="pointer-events: none;">{% include 'bi/pencil-square.html' %}</span></a>
-                    &nbsp;
-                {% endif %}
-                <a href="{% url 'scipost:contributor_info' productionstream.submission.submitted_by.id %}">{{ productionstream.submission.submitted_by.formal_str }}</a>
+                <span class="d-inline-flex gap-2 pe-auto">
+                  {% if productionstream.submission.submitted_by.profile.email %}
+                  <a href="mailto:{{ productionstream.submission.submitted_by.profile.email }}?body=Dear%20{{ productionstream.submission.submitted_by.formal_str }},%0A%0A"
+                  class="text-primary">{% include 'bi/pencil-square.html' %}</a>
+                  {% endif %}
+                  <a href="{% url 'scipost:contributor_info' productionstream.submission.submitted_by.id %}">{{ productionstream.submission.submitted_by.formal_str }}</a>
+                </span>
             </div>
 
-            <div class="col-12 col-sm-auto col-md-12 col-xl-auto pe-auto">
+            <div class="col-12 col-sm-auto col-md-12 col-xl-auto">
                 <small class="text-muted">Go to page:</small>
                 <br>
-                <div class="d-inline-flex">
+                <div class="d-inline-flex pe-auto">
                     <a href="{{ productionstream.submission.get_absolute_url }}">Submission</a>
                     &nbsp;&nbsp; &bullet; &nbsp;&nbsp;
                     <a href="{% url 'production:stream' stream_id=productionstream.id %}">Stream</a>
-- 
GitLab