update configuration for document_list_profile and column names
authorcavaliet
Wed, 16 May 2012 14:02:51 +0200
changeset 90 413f45b26903
parent 89 8175fa8d5812
child 91 946fb70edd8f
update configuration for document_list_profile and column names
.hgsubstate
app/config/config.yml
src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig
--- a/.hgsubstate	Wed May 16 12:46:58 2012 +0200
+++ b/.hgsubstate	Wed May 16 14:02:51 2012 +0200
@@ -1,1 +1,1 @@
-95ccb352452282e764fb69ef5df2484dcb003a60 vendor/bundles/IRI/Bundle/WikiTagBundle
+5d10273e892a97ca42141407a056b89f7a8dba52 vendor/bundles/IRI/Bundle/WikiTagBundle
--- a/app/config/config.yml	Wed May 16 12:46:58 2012 +0200
+++ b/app/config/config.yml	Wed May 16 14:02:51 2012 +0200
@@ -99,43 +99,43 @@
             sort_tag:
                 visibility: 1
             order:
-                label:      '#'
+                label:      '##'
                 visibility: 1
             move_up_down:
                 visibility: 1
             id:
-                label:      'id'
+                label:      '#id'
                 visibility: 1
             label:
-                label:      'Tag'
+                label:      '#Tag'
                 visibility: 1
             wikipedia_link:
-                label:      'Lien W'
+                label:      '#Lien W'
                 visibility: 1
             wikipedia_permalink:
-                label:      'pLien W'
+                label:      '#pLien W'
                 visibility: 1
             dbpedia_link:
-                label:      'Lien D'
+                label:      '#Lien D'
                 visibility: 1
             category:
-                label:      'Catégorie'
+                label:      '#Catégorie'
                 visibility: 1
             remove_wikipedia_link:
-                label:      'Supprimer le lien W'
+                label:      '#Supprimer le lien W'
                 visibility: 1
             alias:
-                label:      'Alias'
-                visibility: 2
+                label:      '#Alias'
+                visibility: 1
             remove_tag_from_list:
-                label:      'Retirer le tag'
+                label:      '#Retirer le tag'
                 visibility: 1
             alternative_label:
-                label:      'Label redirigé'
-                visibility: 2
+                label:      '#Label redirigé'
+                visibility: 1
             alternative_wikipedia_url:
-                label:      'Lien redirigé'
-                visibility: 2
+                label:      '#Lien redirigé'
+                visibility: 1
         #editor :     [ 'sort_tag', 'order', 'id', 'move_up_down', 'label', 'wikipedia_link', 'wikipedia_permalink', 'dbpedia_link', 'category', 'remove_wikipedia_link', 'alias', 'remove_tag_from_list' ]
         editor:
             sort_tag:
--- a/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig	Wed May 16 12:46:58 2012 +0200
+++ b/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig	Wed May 16 14:02:51 2012 +0200
@@ -8,7 +8,7 @@
 
 {% block js_declaration %}
 {{ parent() }}
-{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'editor'} %}
+{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'all'} %}
 {% render "WikiTagBundle:WikiTag:addJavascriptForContextSearch" with {'context_name': "only_p"} %}
 {% endblock %}
 
@@ -24,7 +24,7 @@
       </div>
       <div class="right_sheet">
         <p style="float:right;"><a href="{{ url('document_with_tags', { 'idDoc': (doc.id-1) }) }}">&nbsp;&lt;&nbsp;</a> - <a href="{{ url('document_with_tags', { 'idDoc': (doc.id+1) }) }}">&nbsp;&gt;&nbsp;</a></p>
-        {% render "WikiTagBundle:WikiTag:documentTags" with {'id_doc': doc.id, 'profile_name': 'editor'} %}
+        {% render "WikiTagBundle:WikiTag:documentTags" with {'id_doc': doc.id, 'profile_name': 'all'} %}
         {% include 'WikiTagBundle:WikiTag:contextSearchDiv.html.twig' %}
       </div>
     </div>