File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
system/application/views/melons/cantaloupe/js Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 527
527
// This option is on the current path or we don't know what path we're on
528
528
if ( ( foundQueryPath && ( page . containingPath . slug == queryVars . path ) ) || ! foundQueryPath ) {
529
529
530
+ var continueVerbage ;
531
+ if ( pathOptionCount == 0 ) {
532
+ continueVerbage = "Continue to " ;
533
+ } else {
534
+ continueVerbage = "Or, continue to "
535
+ }
536
+
530
537
// continue button
531
538
links = $ ( '<p></p>' ) ;
532
539
var continue_button = $ ( '<a class="continue_btn nav_btn" href="' + page . containingPathNodes [ page . containingPathIndex + 1 ] . url +
533
- '?path=' + page . containingPath . slug + '">Or, continue to “' + page . containingPathNodes [ page . containingPathIndex + 1 ] . getDisplayTitle ( ) +
540
+ '?path=' + page . containingPath . slug + '">' + continueVerbage + ' “' + page . containingPathNodes [ page . containingPathIndex + 1 ] . getDisplayTitle ( ) +
534
541
'”</a>' ) . appendTo ( links ) ;
535
542
if ( pathOptionCount == 0 ) {
536
543
continue_button . addClass ( 'primary' ) ;
537
544
}
538
545
539
546
// back button
540
547
if ( page . containingPathIndex > 0 ) {
541
- var back_button = $ ( '<a id="back-btn" class="nav_btn" href="' + page . containingPathNodes [ page . containingPathIndex - 1 ] . url + '?path=' + page . containingPath . slug + '">«</a> ' ) . prependTo ( links ) ;
548
+ var back_button = $ ( '<a id="back-btn" class="nav_btn bordered " href="' + page . containingPathNodes [ page . containingPathIndex - 1 ] . url + '?path=' + page . containingPath . slug + '">«</a> ' ) . prependTo ( links ) ;
542
549
}
543
550
544
551
section . append ( links ) ;
You can’t perform that action at this time.
0 commit comments