Skip to content

Commit

Permalink
feat(menu) new link to www.simplecommebonjour.org
Browse files Browse the repository at this point in the history
  • Loading branch information
FrPellissier committed Oct 12, 2017
1 parent 1cea09f commit 93dc449
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion entourage/Assets/Strings/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"menu_amis" = "Amis";
"myProfile" = "MON COMPTE";
"parameters" = "Parameters";
"menu_blog" = "Comment franchir le pas ?";
"menu_scb" = "Comment franchir le pas ?";
"menu_chart" = "Charte éthique";

"menu_guide" = "Guide de solidarité";
Expand Down
4 changes: 2 additions & 2 deletions entourage/Classes/Controller/OTMenuViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
[OTLogger logEvent:@"WhatActionsClick"];
else if ([menuItem.title isEqualToString:OTLocalizedString(@"menu_application_usage")])
[OTLogger logEvent:@"AppFAQClick"];
else if ([menuItem.title isEqualToString:OTLocalizedString(@"menu_blog")])
else if ([menuItem.title isEqualToString:OTLocalizedString(@"menu_scb")])
[OTLogger logEvent:@"SimpleCommeBonjourClick"];
else if ([menuItem.title isEqualToString:OTLocalizedString(@"menu_chart")])
[OTLogger logEvent:@"ViewEthicsChartClick"];
Expand Down Expand Up @@ -220,7 +220,7 @@ - (void)configureControllersDictionary {

- (NSArray *)createMenuItems {
NSMutableArray *menuItems = [NSMutableArray array];
OTMenuItem *itemBlog = [[OTMenuItem alloc] initWithTitle:OTLocalizedString(@"menu_blog") iconName: @"blog" url:MENU_BLOG_URL];
OTMenuItem *itemBlog = [[OTMenuItem alloc] initWithTitle:OTLocalizedString(@"menu_scb") iconName: @"blog" url:MENU_SCB_URL];
[menuItems addObject:itemBlog];
OTMenuItem *itemEntourageActions = [[OTMenuItem alloc] initWithTitle:OTLocalizedString(@"menu_entourage_actions") iconName:@"goal" url:MENU_BLOG_ENTOURAGE_ACTIONS_URL];
[menuItems addObject:itemEntourageActions];
Expand Down
3 changes: 1 addition & 2 deletions entourage/Classes/OTConsts.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#define PRO_ENTOURAGE_CREATION_CHART @"http://www.entourage.social/chartes/pro.html"

#define MENU_BLOG_URL @"https://blog.entourage.social/2016/10/28/franchir-le-pas/"
#define MENU_SCB_URL @"http://www.simplecommebonjour.org/"
#define MENU_BLOG_ENTOURAGE_ACTIONS_URL @"http://blog.entourage.social/quelles-actions-faire-avec-entourage"
#define MENU_BLOG_APPLICATION_USAGE_URL @"http://blog.entourage.social/comment-utiliser-l-application-entourage/"
#define MENU_ATD_PARTNERSHIP @"https://www.atd-quartmonde.fr/entourage/"
Expand All @@ -88,5 +89,3 @@
#define NO_GIUDE_DATA_LINK @"https://goo.gl/jD5uIQ"

#define PROPOSE_STRUCTURE_URL @"https://docs.google.com/forms/d/e/1FAIpQLSdcpYpAWz9zllF2TUS4USDQzu4T4ywu_XjXaD-ovsTS5eo1YA/viewform"


0 comments on commit 93dc449

Please sign in to comment.