# HG changeset patch # User Chloe Laisne # Date 1471986325 -7200 # Node ID 6af61adbd5707f6b6736bdc1185a9d50a18dbb58 # Parent 12c694392e8e1320410e8eb20e12c68f18f06df6 doc-subject for bnf links diff -r 12c694392e8e -r 6af61adbd570 cms/app-client/app/router.js --- a/cms/app-client/app/router.js Tue Aug 23 00:32:11 2016 +0200 +++ b/cms/app-client/app/router.js Tue Aug 23 23:05:25 2016 +0200 @@ -6,11 +6,12 @@ }); Router.map(function() { - this.route('tabs/langues', { path: '/langues' }); - this.route('tabs/carto', { path: '/cartographie' }); - this.route('tabs/thematiques', { path: '/thematiques' }); - this.route('tabs/discours', { path: '/discours' }); - this.route('tabs/chrono', { path: '/chronologie' }); + this.route('tabs/langues', { path: '/' }); // Default + this.route('tabs/langues', { path: '/langues' }); + this.route('tabs/carto', { path: '/cartographie' }); + this.route('tabs/thematiques', { path: '/thematiques' }); + this.route('tabs/discours', { path: '/discours' }); + this.route('tabs/chrono', { path: '/chronologie' }); }); export default Router; diff -r 12c694392e8e -r 6af61adbd570 cms/app-client/app/templates/components/filter-component.hbs --- a/cms/app-client/app/templates/components/filter-component.hbs Tue Aug 23 00:32:11 2016 +0200 +++ b/cms/app-client/app/templates/components/filter-component.hbs Tue Aug 23 23:05:25 2016 +0200 @@ -8,7 +8,7 @@
  • {{doc-language class="label" url=filter.language}}
  • {{/if}} {{#if filter.discourse}} -
  • {{filter.discourse}}
  • +
  • {{doc-subject url=filter.discourse}}
  • {{/if}} {{#if filter.date}} {{#each intervals as |interval| }} @@ -16,7 +16,7 @@ {{/each}} {{/if}} {{#if filter.theme}} -
  • {{filter.theme}}
  • +
  • {{doc-subject url=filter.theme}}
  • {{/if}} {{else}}