# HG changeset patch # User cavaliet # Date 1319636344 -7200 # Node ID 89a003e5b108754b671518d74dacc167ecd4aae6 # Parent 99ad73ef73852d1305d59e9cb125b3aaa30623be Update routing and templates for tag list. diff -r 99ad73ef7385 -r 89a003e5b108 src/Company/BaseBundle/Resources/config/routing.yml --- a/src/Company/BaseBundle/Resources/config/routing.yml Fri Oct 21 17:10:54 2011 +0200 +++ b/src/Company/BaseBundle/Resources/config/routing.yml Wed Oct 26 15:39:04 2011 +0200 @@ -8,7 +8,7 @@ company_other: pattern: /other defaults: { _controller: CompanyBaseBundle:Index:other } -doctag: +document_with_tags: pattern: /doctag/{idDoc} defaults: { _controller: CompanyBaseBundle:Index:documentWithTag } all_tags: diff -r 99ad73ef7385 -r 89a003e5b108 src/Company/BaseBundle/Resources/views/Index/all_documents.html.twig --- a/src/Company/BaseBundle/Resources/views/Index/all_documents.html.twig Fri Oct 21 17:10:54 2011 +0200 +++ b/src/Company/BaseBundle/Resources/views/Index/all_documents.html.twig Wed Oct 26 15:39:04 2011 +0200 @@ -7,7 +7,7 @@ {% for doc in documents %} - + {% endfor %}
IDTITLEDESClien
{{ doc.id }}{{ doc.title }}{{ doc.description }}voir les tags
{{ doc.id }}{{ doc.title }}{{ doc.description }}voir les tags

Add another document

diff -r 99ad73ef7385 -r 89a003e5b108 src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig --- a/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig Fri Oct 21 17:10:54 2011 +0200 +++ b/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig Wed Oct 26 15:39:04 2011 +0200 @@ -22,7 +22,7 @@

Description
{{doc.description}}

-

 <  -  > 

+

 <  -  > 

{% render "WikiTagBundle:WikiTag:documentTags" with {'id_doc': doc.id} %} {#