|
|
@@ -208,10 +208,19 @@
|
|
|
UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, 90, 22)];
|
|
|
titleLabel.textColor=[UIColor whiteColor];
|
|
|
titleLabel.backgroundColor = [UIColor clearColor];
|
|
|
- if(section==0)
|
|
|
- titleLabel.text=NSLocalizedString(@"display_items", nil);
|
|
|
- else
|
|
|
- titleLabel.text=NSLocalizedString(@"hide_items", nil);
|
|
|
+
|
|
|
+ if (self.forNewResult) {
|
|
|
+ if(section==0)
|
|
|
+ titleLabel.text = @"Additional Fields To Display";
|
|
|
+ else
|
|
|
+ titleLabel.text = @"Addition Fields";
|
|
|
+ } else {
|
|
|
+ if(section==0)
|
|
|
+ titleLabel.text=NSLocalizedString(@"display_items", nil);
|
|
|
+ else
|
|
|
+ titleLabel.text=NSLocalizedString(@"hide_items", nil);
|
|
|
+ }
|
|
|
+
|
|
|
[titleLabel sizeToFit];
|
|
|
[myView addSubview:titleLabel];
|
|
|
|
|
|
@@ -247,11 +256,7 @@
|
|
|
return NO;
|
|
|
}
|
|
|
|
|
|
- if (indexPath.section == 0 && [tableView numberOfRowsInSection:indexPath.section] == 1) {
|
|
|
- return NO;
|
|
|
- } else {
|
|
|
- return YES;
|
|
|
- }
|
|
|
+ return YES;
|
|
|
|
|
|
} else {
|
|
|
|