|
@@ -1714,12 +1714,22 @@
|
|
|
// [map setValue:@"rect_contact_list" forKey:@"img"];
|
|
// [map setValue:@"rect_contact_list" forKey:@"img"];
|
|
|
// [self.sideMenuItems addObject:map.copy];
|
|
// [self.sideMenuItems addObject:map.copy];
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+#ifdef BUILD_UWAVER
|
|
|
|
|
+ [map setValue:@"Hang Tag" forKey:@"title"];
|
|
|
|
|
+#else
|
|
|
[map setValue:@"Portfolio" forKey:@"title"];
|
|
[map setValue:@"Portfolio" forKey:@"title"];
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
[map setValue:@"rect_market_news" forKey:@"img"];
|
|
[map setValue:@"rect_market_news" forKey:@"img"];
|
|
|
[self.sideMenuItems addObject:map.copy];
|
|
[self.sideMenuItems addObject:map.copy];
|
|
|
|
|
|
|
|
|
|
+#ifdef BUILD_UWAVER
|
|
|
|
|
+ [map setValue:@"View Hang Tags" forKey:@"title"];
|
|
|
|
|
+#else
|
|
|
[map setValue:@"View Portfolios" forKey:@"title"];
|
|
[map setValue:@"View Portfolios" forKey:@"title"];
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
[map setValue:@"rect_pdf_list" forKey:@"img"];
|
|
[map setValue:@"rect_pdf_list" forKey:@"img"];
|
|
|
[self.sideMenuItems addObject:map.copy];
|
|
[self.sideMenuItems addObject:map.copy];
|
|
|
}
|
|
}
|
|
@@ -2077,7 +2087,7 @@
|
|
|
cell.detailTextLabel.textColor =[UIColor redColor];
|
|
cell.detailTextLabel.textColor =[UIColor redColor];
|
|
|
if([title isEqualToString:@"Wish List"]&&appDelegate.wish_count>0)
|
|
if([title isEqualToString:@"Wish List"]&&appDelegate.wish_count>0)
|
|
|
cell.detailTextLabel.text = [NSString stringWithFormat:@"%ld",appDelegate.wish_count];
|
|
cell.detailTextLabel.text = [NSString stringWithFormat:@"%ld",appDelegate.wish_count];
|
|
|
- else if([title isEqualToString:@"Portfolio"]&&appDelegate.port_count>0)
|
|
|
|
|
|
|
+ else if(([title isEqualToString:@"Portfolio"] || [title isEqualToString:@"Hang Tag"])&&appDelegate.port_count>0)
|
|
|
cell.detailTextLabel.text = [NSString stringWithFormat:@"%ld",appDelegate.port_count];
|
|
cell.detailTextLabel.text = [NSString stringWithFormat:@"%ld",appDelegate.port_count];
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
@@ -2527,14 +2537,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- else if([title isEqualToString:@"Portfolio"])
|
|
|
|
|
|
|
+ else if([title isEqualToString:@"Portfolio"] || [title isEqualToString:@"Hang Tag"])
|
|
|
{
|
|
{
|
|
|
[self hideMenu];
|
|
[self hideMenu];
|
|
|
if([self.current_VC isKindOfClass:[PortfolioViewController class]])
|
|
if([self.current_VC isKindOfClass:[PortfolioViewController class]])
|
|
|
return;
|
|
return;
|
|
|
[self flipFromViewController:self.current_VC toViewController:self.portfolioViewController withDirection:UIViewAnimationOptionTransitionCrossDissolve];
|
|
[self flipFromViewController:self.current_VC toViewController:self.portfolioViewController withDirection:UIViewAnimationOptionTransitionCrossDissolve];
|
|
|
}
|
|
}
|
|
|
- else if([title isEqualToString:@"View Portfolios"])
|
|
|
|
|
|
|
+ else if([title isEqualToString:@"View Portfolios"] || [title isEqualToString:@"View Hang Tags"])
|
|
|
{
|
|
{
|
|
|
[self hideMenu];
|
|
[self hideMenu];
|
|
|
if([self.current_VC isKindOfClass:[PDFListViewController class]])
|
|
if([self.current_VC isKindOfClass:[PDFListViewController class]])
|