Skip to content

Commit

Permalink
Merge pull request #142 from healthonnet/modif-disable-news
Browse files Browse the repository at this point in the history
Disable News part
  • Loading branch information
Adrion authored May 25, 2018
2 parents 52a08fe + 2effa9f commit fd59baa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ var app = angular.module('App', [
templateUrl: 'views/image.html',
controller: 'ImageController',
})
/* Temporary disabled
.when('/news', {
templateUrl: 'views/news.html',
controller: 'NewsController',
})
}) */
.when('/pro', {
templateUrl: 'views/prosearch.html',
controller: 'ProController',
Expand Down
2 changes: 1 addition & 1 deletion src/js/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ app.constant('AUTOCORRECT_SERVICE_URL', '/hon-search/spell');
app.constant('QUESTIONS_SERVICE_URL', '/people-also-ask/questions');
app.constant('SCREENSHOT_SERVICE_URL', 'http://everyone.khresmoi.eu:3000');
app.constant('MAXIMUM_FREQUENCY_RATIO', 0.01);
app.constant('VERSION', 'rel-0.1.4');
app.constant('VERSION', 'rel-0.1.5');
app.constant('FONT_SIZE_SPAN', 4);
app.constant('DEFAULT_FONT_SIZE', 14);
app.constant('DEFAULT_PREFERENCES', {
Expand Down
2 changes: 1 addition & 1 deletion src/views/partials/navbar-left.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ul class="nav navbar-nav navbar-middle">
<li><a ng-href="index.html{{currentQuery}}" title="{{ 'WEB' | translate }}" class="search-web" ng-class="searchActive? 'text-dark-blue' : 'text-neutral'"><i class="fa fa-2x fa-globe" aria-hidden="true"></i>{{ 'WEB' | translate }}</a></li>
<li><a ng-href="images{{currentQuery}}" title="{{ 'PICTURES' | translate }}" class="search-images" ng-class="picturesActive? 'text-dark-purple' : 'text-neutral'"><i class="fa fa-2x fa-picture-o" aria-hidden="true"></i>{{ 'PICTURES' | translate }}</a></li>
<li><a href="news{{currentQuery}}" title="{{ 'NEWS' | translate }}" class="search-news" ng-class="newsActive? 'text-dark-orange' : 'text-neutral'"><i class="fa fa-2x fa-newspaper-o" aria-hidden="true"></i>{{ 'NEWS' | translate }}</a></li>
<!-- li><a href="news{{currentQuery}}" title="{{ 'NEWS' | translate }}" class="search-news" ng-class="newsActive? 'text-dark-orange' : 'text-neutral'"><i class="fa fa-2x fa-newspaper-o" aria-hidden="true"></i>{{ 'NEWS' | translate }}</a></li-->
<li><a href="pro{{currentQuery}}" title="{{ 'SEARCH_PRO' | translate }}" class="search-pro" ng-class="proActive? 'text-dark-green' : 'text-neutral'"><i class="fa fa-2x fa-user-md" aria-hidden="true"></i>{{ 'SEARCH_PRO' | translate }}</a></li>
<li><a href="apps{{currentQuery}}" title="{{ 'APP' | translate }}" class="search-apps" ng-class="appsActive? 'text-dark-red' : 'text-neutral'"><i class="fa fa-2x fa-mobile" aria-hidden="true"></i>{{ 'APPS' | translate }}</a></li>
<hr />
Expand Down

0 comments on commit fd59baa

Please sign in to comment.