Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 26 May 2020 starting at approximately 10am CDT. It is expected to take around 30 minutes and will involve a short period of downtime, around 5 minutes, towards the end of the maintenance period. Please address any questions, comments, or concerns to uwm-help@cgca.uwm.edu.

Commit 2ef52992 authored by Jonah Kanner's avatar Jonah Kanner 🤓 Committed by GraceDB

note retractions in a comment

parent d34e70ee
......@@ -136,11 +136,7 @@ class SupereventPublic(ListView):
#-- For each superevent, get list of log messages and construct pastro string
candidates = 0
for se in context['object_list']:
viewable_logs = get_objects_for_user(self.request.user,
self.log_view_permission,
se.log_set.all()).filter(tags__name='analyst_comments') #-- change to analyst_comments
se.comments = ' ** '.join([log.comment for log in viewable_logs])
se.maplocal = "/apiweb/superevents/{0}/files/bayestar.png".format(se.superevent_id)
#-- Get list of voevents
......@@ -156,6 +152,15 @@ class SupereventPublic(ListView):
else:
se.retract = False
candidates += 1
viewable_logs = get_objects_for_user(self.request.user,
self.log_view_permission,
se.log_set.all()).filter(tags__name='analyst_comments') #-- change to analyst_comments
se.comments = ' ** '.join([log.comment for log in viewable_logs])
if se.retract: se.comments += " ** RETRACTED ** "
# -- Read out probabilities
voe = good_voevents[-1]
......
......@@ -88,6 +88,13 @@
{% endfor %}
</tbody></table>
<hr/>
<ul style="list-style-type:square">
<li> Retractions are marked in red</li>
<li> Details in the <a href='https://emfollow.docs.ligo.org/userguide/'>LIGO/Virgo Alerts User Guide</a>
</ul>
<br/><br/><br/>
{% endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment