File tree 1 file changed +8
-8
lines changed
Coding_iOS/Controllers/NProjectViewController
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -207,8 +207,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
207
207
if (_myProject.is_public .boolValue ) {
208
208
[cell setImageStr: @" project_item_member" andTitle: @" 成员" ];
209
209
}else {
210
- [cell setImageStr: @" project_item_topic" andTitle: @" 讨论" ];
211
- // [cell setImageStr:@"project_item_wiki" andTitle:@"Wiki"];
210
+ // [cell setImageStr:@"project_item_topic" andTitle:@"讨论"];
211
+ [cell setImageStr: @" project_item_wiki" andTitle: @" Wiki" ];
212
212
}
213
213
break ;
214
214
case 4 :
@@ -301,16 +301,16 @@ - (void)goToIndex:(NSInteger)index{
301
301
}
302
302
}];
303
303
}
304
- // if (index == 3 && _myProject.is_public && !_myProject.is_public.boolValue) {
305
- // WikiViewController *vc = [WikiViewController new];
306
- // vc.myProject = self.myProject;
307
- // [self.navigationController pushViewController:vc animated:YES];
308
- // }else{
304
+ if (index == 3 && _myProject.is_public && !_myProject.is_public .boolValue ) {
305
+ WikiViewController *vc = [WikiViewController new ];
306
+ vc.myProject = self.myProject ;
307
+ [self .navigationController pushViewController: vc animated: YES ];
308
+ }else {
309
309
ProjectViewController *vc = [[ProjectViewController alloc ] init ];
310
310
vc.myProject = self.myProject ;
311
311
vc.curIndex = index ;
312
312
[self .navigationController pushViewController: vc animated: YES ];
313
- // }
313
+ }
314
314
}
315
315
- (void )gotoPro : (Project *)project {
316
316
NProjectViewController *vc = [[NProjectViewController alloc ] init ];
You can’t perform that action at this time.
0 commit comments