Преглед на файлове

Clean up location detail

Colin Powell преди 1 година
родител
ревизия
ca3e495467
променени са 1 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 7
      vrobbler/templates/locations/geolocation_detail.html

+ 0 - 7
vrobbler/templates/locations/geolocation_detail.html

@@ -39,7 +39,6 @@
     <p style="float:left; width:402px; padding:0; border: 1px solid #ccc">
     </p>
     <div style="float:left; width:600px; margin-left:10px; ">
-      {{object.lat}}
         {% if object.summary %}
         <p>{{object.summary|safe|linebreaks|truncatewords:160}}</p>
         <hr />
@@ -58,18 +57,12 @@
                 <thead>
                     <tr>
                         <th scope="col">Date</th>
-                        <th scope="col">Completed</th>
-                        <th scope="col">Pages read</th>
-                        <th scope="col">Authors</th>
                     </tr>
                 </thead>
                 <tbody>
                     {% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %}
                     <tr>
                         <td>{{scrobble.timestamp}}</td>
-                        <td>{% if scrobble.long_play_complete == True %}Yes{% endif %}</td>
-                        <td>{% if scrobble.in_progress %}Now reading{% else %}{{scrobble.session_pages_read}}{% endif %}</td>
-                        <td>{% for author in scrobble.book.authors.all %}<a href="{{author.get_absolute_url}}">{{author}}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</td>
                     </tr>
                     {% endfor %}
                 </tbody>