Skip to content
Browse files

type in title

  • Loading branch information...
1 parent b745e99 commit 0423277d79e76393a577d2002d7f66b2a4cc62e5 @piffpaffpuff piffpaffpuff committed Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/delivery-notes/print.php
View
2 templates/delivery-notes/print.php
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
- <title><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?></title>
+ <title><?php if( wcdn_template_name() == 'invoice' ) : ?><?php _e( 'Invoice', 'woocommerce-delivery-notes' ); ?><?php else : ?><?php _e( 'Delivery Note', 'woocommerce-delivery-notes' ); ?><?php endif; ?></title>
<link rel="stylesheet" href="<?php echo wcdn_template_url(); ?>css/style.css" type="text/css" media="screen,print" charset="utf-8"/>
<?php echo wcdn_template_javascript(); ?>
</head>

0 comments on commit 0423277

Please sign in to comment.
Something went wrong with that request. Please try again.