diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-02-26 13:59:08 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-02-26 18:14:42 +0100 |
commit | 4dc872238a61f33c886c423c5812cc578b3b1cdc (patch) | |
tree | 4a9413cca2b24e9290057159eeb3833c20aefddb /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry | |
parent | 9eab365e28de969036e58245a57a8a6418541b3c (diff) | |
download | wallabag-4dc872238a61f33c886c423c5812cc578b3b1cdc.tar.gz wallabag-4dc872238a61f33c886c423c5812cc578b3b1cdc.tar.zst wallabag-4dc872238a61f33c886c423c5812cc578b3b1cdc.zip |
Rename CommentBundle with AnnotationBundle
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 4839c3ea..6f33da23 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | |||
@@ -187,8 +187,8 @@ main { | |||
187 | </header> | 187 | </header> |
188 | <aside> | 188 | <aside> |
189 | <a href="{{ entry.url|e }}" target="_blank" title="{% trans %}original{% endtrans %} : {{ entry.title|e }}" class="tool link mdi-content-link"> <span>{{ entry.domainName|removeWww }}</span></a> | 189 | <a href="{{ entry.url|e }}" target="_blank" title="{% trans %}original{% endtrans %} : {{ entry.title|e }}" class="tool link mdi-content-link"> <span>{{ entry.domainName|removeWww }}</span></a> |
190 | {% set nbComments = entry.comments | length %} | 190 | {% set nbAnnotations = entry.annotations | length %} |
191 | <span class="tool link mdi-communication-comment"> {% transchoice nbComments %}{0} No annotations|{1} One annotation|]1,Inf[ %nbComments% annotations{% endtranschoice %}</span> | 191 | <span class="tool link mdi-communication-comment"> {% transchoice nbAnnotations %}{0} No annotations|{1} One annotation|]1,Inf[ %nbAnnotations% annotations{% endtranschoice %}</span> |
192 | <div id="list"> | 192 | <div id="list"> |
193 | {% for tag in entry.tags %} | 193 | {% for tag in entry.tags %} |
194 | <div class="chip"> | 194 | <div class="chip"> |
@@ -221,8 +221,8 @@ app.include(annotator.storage.http, { | |||
221 | prefix: '', | 221 | prefix: '', |
222 | urls: { | 222 | urls: { |
223 | create: '{{ path('annotations_post_annotation', { 'entry': entry.id }) }}', | 223 | create: '{{ path('annotations_post_annotation', { 'entry': entry.id }) }}', |
224 | update: '{{ path('annotations_put_annotation', { 'comment': 'idComment' }) }}', | 224 | update: '{{ path('annotations_put_annotation', { 'annotation': 'idAnnotation' }) }}', |
225 | destroy: '{{ path('annotations_delete_annotation', { 'comment': 'idComment' }) }}', | 225 | destroy: '{{ path('annotations_delete_annotation', { 'annotation': 'idAnnotation' }) }}', |
226 | search: '{{ path('annotations_get_annotations', { 'entry': entry.id }) }}' | 226 | search: '{{ path('annotations_get_annotations', { 'entry': entry.id }) }}' |
227 | } | 227 | } |
228 | }); | 228 | }); |