cms/app-client/app/templates/components/notice-component.hbs
changeset 511 fbf4e1afab01
parent 502 74fba571487e
child 513 dad9471f0d63
--- a/cms/app-client/app/templates/components/notice-component.hbs	Wed Feb 15 10:51:26 2017 +0100
+++ b/cms/app-client/app/templates/components/notice-component.hbs	Wed Feb 15 22:53:45 2017 +0100
@@ -19,7 +19,7 @@
   </tr>
   <tr>
     <td class="title">Langue</td>
-    <td>{{#each item.languages as |lang index|}}{{if index ", "}}{{ component (getLinkType lang) url=lang class="language" onClick=(action 'addLanguageFilter' lang) displayUrlLink=true}}{{/each}}</td>
+    <td>{{#each item.languages as |lang index|}}{{if index ", "}}{{ component (get-link-type lang) url=lang class="language" onClick=(action 'addLanguageFilter' lang) displayUrlLink=true}}{{/each}}</td>
   </tr>
   <tr>
     <td class="title">Sujet{{#if (if-operator item.subjects.length '>' 1)}}s{{/if}}</td>
@@ -27,7 +27,7 @@
       <ul>
         {{#each item.subjects as |subject|}}
         <li>
-          {{component (getLinkType subject) url=subject onClick=(action "addThemeFilter" subject) displayUrlLink=true}}
+          {{component (get-link-type subject) url=subject onClick=(action "addThemeFilter" subject) displayUrlLink=true}}
         </li>
         {{/each}}
       </ul>
@@ -39,7 +39,7 @@
       <ul>
         {{#each item.types as |type|}}
         <li>
-          {{component (getLinkType type) url=type onClick=(action "addThemeFilter" type) displayUrlLink=true}}
+          {{component (get-link-type type) url=type onClick=(action "addThemeFilter" type) displayUrlLink=true}}
         </li>
         {{/each}}
       </ul>
@@ -62,7 +62,7 @@
     <td>
       <ul>
         {{#each participants as |participant|}}
-        <li>{{component (getLinkType participant.identifier) url=participant.identifier }} ({{#each participant.role as |r index| }}{{if index ", "}}{{r}}{{/each}})</li>
+        <li>{{component (get-link-type participant.identifier) url=participant.identifier }} ({{#each participant.role as |r index| }}{{if index ", "}}{{r}}{{/each}})</li>
         {{/each}}
       </ul>
     </td>