|  | @@ 369-374 (lines=6) @@ | 
                                                            
                                    | 366 |  |  | 
                                                            
                                    | 367 |  | 		$branch_class                             = 'branch-card'; | 
                                                            
                                    | 368 |  | 		list( $current_branch, $current_section ) = Utils::get_branch_and_section(); | 
                                                            
                                    | 369 |  | 		if ( $current_branch === $branch_key && $current_section === $section ) { | 
                                                            
                                    | 370 |  | 			$action       = __( 'Active', 'jetpack-beta' ); | 
                                                            
                                    | 371 |  | 			$branch_class = 'branch-card-active'; | 
                                                            
                                    | 372 |  | 		} else { | 
                                                            
                                    | 373 |  | 			$action = self::activate_button( $branch_key, $section ); | 
                                                            
                                    | 374 |  | 		} | 
                                                            
                                    | 375 |  | 		$header = str_replace( '-', ' ', $header ); | 
                                                            
                                    | 376 |  | 		$header = str_replace( '_', ' / ', $header ); | 
                                                            
                                    | 377 |  | 		?> | 
                                                                                
                                |  | @@ 418-423 (lines=6) @@ | 
                                                            
                                    | 415 |  |  | 
                                                            
                                    | 416 |  | 		$class_name                               = 'tag-card'; | 
                                                            
                                    | 417 |  | 		list( $current_branch, $current_section ) = Utils::get_branch_and_section(); | 
                                                            
                                    | 418 |  | 		if ( $current_branch === $tag && $current_section === $section ) { | 
                                                            
                                    | 419 |  | 			$action     = __( 'Active', 'jetpack-beta' ); | 
                                                            
                                    | 420 |  | 			$class_name = 'tag-card-active'; | 
                                                            
                                    | 421 |  | 		} else { | 
                                                            
                                    | 422 |  | 			$action = self::activate_button( $tag, $section ); | 
                                                            
                                    | 423 |  | 		} | 
                                                            
                                    | 424 |  |  | 
                                                            
                                    | 425 |  | 		$header = str_replace( '-', ' ', $header ); | 
                                                            
                                    | 426 |  | 		$header = str_replace( '_', ' / ', $header ); |