浏览代码

Change btn_add to link_add

Fran Moreno 13 年之前
父节点
当前提交
cfc9e1e8b4

+ 1 - 1
Resources/views/CRUD/edit_orm_many_to_many.html.twig

@@ -24,7 +24,7 @@ file that was distributed with this source code.
                     >
                         <img
                             src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}"
-                            alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}"
+                            alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}"
                         />
                 </a>
             {% endif %}

+ 2 - 2
Resources/views/CRUD/edit_orm_many_to_one.html.twig

@@ -46,7 +46,7 @@ file that was distributed with this source code.
                     class="sonata-ba-action"
                     >
                     <img src="{{ asset('bundles/sonataadmin/famfamfam/application_view_list.png') }}"
-                         alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}"
+                         alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}"
                     />
                 </a>
             {% endif %}
@@ -56,7 +56,7 @@ file that was distributed with this source code.
                     onclick="return start_field_dialog_form_add_{{ id }}(this);"
                     class="sonata-ba-action"
                     >
-                        <img src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}" alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}" />
+                        <img src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}" alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}" />
                 </a>
             {% endif %}
 

+ 2 - 2
Resources/views/CRUD/edit_orm_one_to_many.html.twig

@@ -89,7 +89,7 @@ file that was distributed with this source code.
                         >
                         <img
                             src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}"
-                            alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}"
+                            alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}"
                          />
                     </a>
                 </span>
@@ -143,7 +143,7 @@ file that was distributed with this source code.
                         >
                         <img
                             src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}"
-                            alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}"
+                            alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}"
                          />
                     </a>
                 {% endif %}

+ 2 - 2
Resources/views/CRUD/edit_orm_one_to_one.html.twig

@@ -47,7 +47,7 @@ file that was distributed with this source code.
                     >
                         <img
                             src="{{ asset('bundles/sonataadmin/famfamfam/application_view_list.png') }}"
-                            alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}"
+                            alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}"
                         />
                 </a>
             {% endif %}
@@ -59,7 +59,7 @@ file that was distributed with this source code.
                     >
                         <img
                             src="{{ asset('bundles/sonataadmin/famfamfam/add.png') }}"
-                            alt="{% trans from 'SonataAdminBundle' %}btn_add{% endtrans %}"
+                            alt="{% trans from 'SonataAdminBundle' %}link_add{% endtrans %}"
                         />
                 </a>
             {% endif %}