Bug #2717
Chapter dropdown doesn't work for many works
Start date:
05/04/2020
Due date:
% Done:
100%
History
#1 Updated by Luke Murphey over 4 years ago
- Priority changed from Normal to Urgent
#2 Updated by Luke Murphey over 4 years ago
- Status changed from New to In Progress
- Priority changed from Urgent to Normal
#3 Updated by Luke Murphey over 4 years ago
See Antiquities of the Jews
The template (https://github.com/LukeMurphey/textcritical_net/blob/master/src/reader/templates/read_work.html)
Obs:- I am using the stringified version of the name
{% if divisions and divisions|length > 1 %} <div class="table-of-contents"> <input autocorrect="off" autocapitalize="off" type="text" placeholder="Filter table of contents..." class="division-filter" /> <ul class="nav nav-list"> {% for division_part in divisions.all %} {% if chapter.parent_division.id == division_part.id %} <li class="division-{{division_part.level}} active"> <a data-division-descriptor="{{division_part.descriptor}}" href="{% url "read_work" work.title_slug %}/{{ division_part.get_division_indicators|join:"/" }}"><i class="icon-book icon-white"></i>{{division_part|capfirst}}</a> </li> {% else %} <li class="division-{{division_part.level}}"> <a data-division-descriptor="{{division_part.descriptor}}" href="{% url "read_work" work.title_slug%}/{{ division_part.get_division_indicators|join:"/" }}"><i class="icon-book {% if USE_DARK_THEME|default_if_none:1 %}icon-white{% endif %}"></i>{{division_part|capfirst}}</a> </li> {% endif %} {% endfor %} </ul> </div> {% endif %}
{{chapter.get_division_description_titles.title|replace:"βοοκ,Book"}}
#4 Updated by Luke Murphey over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100