openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

NewsItem Detail view: type hiding is broken #161

Closed slinkp closed 11 years ago

slinkp commented 11 years ago

If in your preferences you click "Hide" next to eg. events, and then go to a place detail timeline view eg. http://demo.openblockproject.org/locations/neighborhoods/fenwaykenmore/ not only do you not see any events, you don't see the control to un-hide them, or any indication that they exist. This is confusing because the map always shows all types so you know stuff should be shown in the list. From the markup:


                <h4 class="hidden" id="events-20110526">
                    3 Events
                    <a class="toggle show" href="#">Show</a>
                </h4>
                <div class="hidden">
                    <ul>

    <li id="newsitem-30036" class="newsitem">

        <span class="location">15 Lansdowne St.</span>
        <strong class="title"><a href="/events/detail/30036/" class="url">Event: The Cars at House Of Blues, Thu, May 26 7:00p</a></strong>
        <p class="info"><span class="date">May 26, 2011</span> </p>
    </li>
...
</ul>
</div>
slinkp commented 11 years ago

dupe of #115

slinkp commented 11 years ago

Ticket imported from Trac: http://developer.openblockproject.org/ticket/168 Reported by: slinkp