Skip to content
Snippets Groups Projects
Commit f4dbc27d authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Updated RSS feed templates/logic for pipeline instead of analysis type. Still...

Updated RSS feed templates/logic for pipeline instead of analysis type. Still doesn't work. Somehow seems to depend on obsolete sites framework.
parent 34f9989d
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ class EventFeed(Feed):
title = "GraceDB %s Events" % group.name
else:
pipeline = Pipeline.objects.filter(name__iexact=bits[1])
if not pipeline.count(0):
if not pipeline.count():
raise FeedDoesNotExist
pipeline = pipeline[0]
objs = Event.objects.filter(pipeline=pipeline)
......
......@@ -21,17 +21,17 @@
<ul>
<li><a href="latest/cbc/">CBC</a></li>
<ul>
<li><a href="latest/cbc/lowmass">Low Mass</a></li>
<li><a href="latest/cbc/highmass">High Mass</a></li>
<li><a href="latest/cbc/grb">GRB</a></li>
<li><a href="latest/cbc/gstlal">gstlal</a></li>
<li><a href="latest/cbc/gstlal-spiir">gstlal-spiir</a></li>
<!-- <li><a href="latest/cbc/grb">GRB</a></li> -->
<li><a href="latest/cbc/ringdown">Ringdown</a></li>
<li><a href="latest/cbc/mbtaonline">MBTA Online</a></li>
</ul>
</ul>
<ul>
<!-- <ul>
<li><a href="latest/stochastic/">Stochastic</a></li>
</ul>
</ul> -->
</p>
{% endblock %}
{{ obj.graceid }} {{ obj.group.name }} / {{ obj.get_analysisType_display }}
{{ obj.graceid }} {{ obj.group.name }} / {{ obj.pipeline.name }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment