casmlab / stack

The BITS Lab STACK tool for social media collection and analysis.
http://bits.ischool.syr.edu/
MIT License
1 stars 0 forks source link

disable "track" collector detail page popups #17

Closed libbyh closed 7 years ago

libbyh commented 7 years ago

Until we get the "track" collectors figured out (see #9), disable the popup features for collectors of that type.

pratik27shah commented 7 years ago

done

pratik27shah commented 7 years ago

{% if collector['api']== "track" %} <td id={{term['id']}} names={{term['term']}} >{{ term['term'] }} {% else %} <td class="termname" id={{term['id']}} names={{term['term']}} onclick="ShowContent(this.id)">{{ term['term'] }} {% endif %}

just replace the else-if in the code by <td class="termname" id={{term['id']}} names={{term['term']}} onclick="ShowContent(this.id)">{{ term['term'] }} to make it work for track in future