diff --git a/census/static/scripts/site/table.js b/census/static/scripts/site/table.js index 2b41fbde..39b7bbfd 100644 --- a/census/static/scripts/site/table.js +++ b/census/static/scripts/site/table.js @@ -49,33 +49,27 @@ define(['jquery', 'bootstrap', 'chroma', 'tablesorter', 'stickykit'], headers: { 2: {sorter: false}, 3: {sorter: false}, - 4: {sorter: false}, - 6: {sorter: false} + 5: {sorter: false} } }, tablesorterSliceIndexOptions = { sortList: [[0, 0]], headers: { - 2: {sorter: false}, - 3: {sorter: false}, - 4: {sorter: false}, - 6: {sorter: false} + 2: {sorter: false} } }, tablesorterPlaceSliceOptions = { - sortList: [[4, 1]], + sortList: [[3, 1]], headers: { 1: {sorter: false}, 2: {sorter: false}, - 3: {sorter: false}, - 5: {sorter: false} + 4: {sorter: false} } }, tablesorterPlaceSliceIndexOptions = { - sortList: [[3, 1]], + sortList: [[2, 1]], headers: { - 1: {sorter: false}, - 2: {sorter: false} + 1: {sorter: false} } }, sortFlag = true; diff --git a/census/views/includes/dataviews/table_slice_dataset.html b/census/views/includes/dataviews/table_slice_dataset.html index e9b43653..4ea1c0d6 100644 --- a/census/views/includes/dataviews/table_slice_dataset.html +++ b/census/views/includes/dataviews/table_slice_dataset.html @@ -15,7 +15,6 @@ - {% else %} @@ -23,7 +22,6 @@ - @@ -35,7 +33,6 @@ {{ gettext("Rank") }} {{ gettext("Place") }} {{ gettext("Breakdown") }} - {{ gettext("Info") }} {% if not is_index %} {{ gettext("Year") }} {% endif %} @@ -59,15 +56,10 @@ {% set answer = entry.getAnswerValueForQuestion(question) %} {% set pass = 'yes' if question.pass(answer) else 'no' %} {% endif %} -
  •  
  • +
  •  
  • {% endfor %} - - - {% if not is_index %} {% if entry %} @@ -88,18 +80,6 @@ {% endif %} - {% if entry.details %} - - {# hack around tablesorter and our row toggler #}{{ place.rank }} - - {# hack around tablesorter and our row toggler #}{{ place.name }} - {% if entry.details %} - {{ entry.details|marked }} - {% endif %} -
    - - - {% endif %} {% if not is_index %} {% for submission in submissions %} @@ -129,11 +109,6 @@
    {{ gettext("Awaiting review") }}
    {% endfor %} - - - {% if not is_index %} {% if submission %} @@ -148,16 +123,6 @@
    {{ gettext("Awaiting review") }}
    {% endif %} - - {# hack around tablesorter and our row toggler #}{{ place.rank }} - - {# hack around tablesorter and our row toggler #}{{ place.name }} - {% if submission.details %} - {{ submission.details|marked }} - {% endif %} -
    - - {% endfor %} {% endif %} diff --git a/census/views/includes/dataviews/table_slice_place.html b/census/views/includes/dataviews/table_slice_place.html index cd582675..7749bd85 100644 --- a/census/views/includes/dataviews/table_slice_place.html +++ b/census/views/includes/dataviews/table_slice_place.html @@ -14,14 +14,12 @@ - {% else %} - @@ -32,7 +30,6 @@ {{ gettext("Dataset") }} {{ gettext("Breakdown") }} - {{ gettext("Info") }} {% if not is_index %} {{ gettext("Year") }} {% endif %} @@ -64,15 +61,10 @@ {% set answer = entry.getAnswerValueForQuestion(question) %} {% set pass = 'yes' if question.pass(answer) else 'no' %} {% endif %} -
  •  
  • +
  •  
  • {% endfor %} - - - {% if not is_index %} {% if entry %} @@ -93,21 +85,6 @@ {% endif %} - {% if entry.details %} - - {% if is_index %} - - {% else %} - - {% endif %} - {# hack around tablesorter and our row toggler #}{{ dataset.name }} - {% if entry.details %} - {{ entry.details|marked }} - {% endif %} -
    - - - {% endif %} {% if not is_index %} {% for submission in submissions %} @@ -136,11 +113,6 @@
    {{ gettext("Awaiting review") }}
    {% endfor %} - - - {% if not is_index %} {% if submission %} @@ -155,15 +127,6 @@
    {{ gettext("Awaiting review") }}
    {% endif %} - - - {# hack around tablesorter and our row toggler #}{{ dataset.name }} - {% if submission.details %} - {{ submission.details|marked }} - {% endif %} -
    - - {% endfor %} {% endif %}