-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use the non-numbered contents list
This removes the `GuideChapterNav` A/B test. We've tested this and we'll keep the B version. https://trello.com/c/ndUiAA1y
- Loading branch information
Showing
10 changed files
with
2 additions
and
191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
<% if show_alternate_guide_chapters? %> | ||
<%= render "components/contents-list", aria_label: navigation_label, contents: content_item.part_link_elements %> | ||
<% else %> | ||
<nav role="navigation" class="grid-row part-navigation" aria-label="<%= navigation_label %>" data-module="track-click"> | ||
<% content_item.parts_navigation.each_with_index do |part_group, i| %> | ||
<ol | ||
class="column-half" | ||
<% if i == 1 %> | ||
start="<%= content_item.parts_navigation_second_list_start %>" | ||
<% end %> | ||
> | ||
<% part_group.each do |part_nav_item| %> | ||
<li> | ||
<%= part_nav_item %> | ||
</li> | ||
<% end %> | ||
</ol> | ||
<% end %> | ||
</nav> | ||
<% end %> | ||
<%= render "components/contents-list", aria_label: navigation_label, contents: content_item.part_link_elements %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 0 additions & 81 deletions
81
test/controllers/guide_chapter_nav_ab_test_controller_test.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters