--- a/.hgsubstate Wed Jul 18 12:36:18 2012 +0200
+++ b/.hgsubstate Thu Jul 19 16:05:48 2012 +0200
@@ -1,1 +1,1 @@
-3e11915dd103414e0380d9f56cfdb59842485e7c vendor/bundles/IRI/Bundle/WikiTagBundle
+a22fb91de2311d184e158becd71fe94c384253ba vendor/bundles/IRI/Bundle/WikiTagBundle
--- a/app/config/config.yml Wed Jul 18 12:36:18 2012 +0200
+++ b/app/config/config.yml Thu Jul 19 16:05:48 2012 +0200
@@ -94,6 +94,7 @@
# If visibility is not defined, it means 0. Hidden columns can be not in the list, it means 0.
# Exemple of list : ['sort_tag', 'order', 'move_up_down', 'label', 'wikipedia_link', 'remove_tag_from_list' ]
# If document_list_profile in not defined, all columns and the sort tag button will be displayed.
+ # If no param is set in the controller call, all columns and the sort tag button will be displayed. ({% render "WikiTagBundle:WikiTag:addJavascript" %})
document_list_profile:
all:
sort_tag:
--- a/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig Wed Jul 18 12:36:18 2012 +0200
+++ b/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig Thu Jul 19 16:05:48 2012 +0200
@@ -8,7 +8,7 @@
{% block js_declaration %}
{{ parent() }}
-{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'editor', 'read_only': true} %}
+{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'editor', 'read_only': false} %}
{% 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) }) }}"> < </a> - <a href="{{ url('document_with_tags', { 'idDoc': (doc.id+1) }) }}"> > </a></p>
- {% render "WikiTagBundle:WikiTag:documentTags" with {'id_doc': doc.id, 'profile_name': 'all'} %}
+ {% render "WikiTagBundle:WikiTag:documentTags" with {'id_doc': doc.id, 'profile_name': 'editor'} %}
{% include 'WikiTagBundle:WikiTag:contextSearchDiv.html.twig' %}
</div>
</div>