Skip to content

Commit

Permalink
Merge branch '7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Mar 6, 2018
2 parents 97d1c8d + d5abbad commit 11b1c7e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 0 deletions.
Expand Up @@ -6,6 +6,7 @@
{% set params = params|merge( { "linkParameters": embedParams.link } ) %}
{% endif %}
<div class="{% if embedParams.align is defined %}align-{{ embedParams.align }}{% endif %}{% if embedParams.class is defined %} {{ embedParams.class }}{% endif %}">
{{ fos_httpcache_tag('relation-' ~ embedParams.id) }}
{{
render(
controller(
Expand Down
@@ -1,3 +1,4 @@
<div class="{% if embedParams.align is defined %}align-{{ embedParams.align }}{% endif %}{% if embedParams.class is defined %} {{ embedParams.class }}{% endif %}">
{{ fos_httpcache_tag('relation-' ~ embedParams.id) }}
Content #{{ embedParams.id }}: You do not have permission to view this Content
</div>
Expand Up @@ -5,6 +5,7 @@
{% if embedParams.link is defined %}
{% set params = params|merge( { "linkParameters": embedParams.link } ) %}
{% endif %}
{{ fos_httpcache_tag('relation-' ~ embedParams.id) }}
{{
render(
controller(
Expand Down
@@ -1 +1,2 @@
{{ fos_httpcache_tag('relation-' ~ embedParams.id) }}
[[ Content #{{ embedParams.id }}: You do not have permission to view this Content ]]
Expand Up @@ -6,6 +6,7 @@
{% set params = params|merge( { "linkParameters": embedParams.link } ) %}
{% endif %}
<div class="{% if embedParams.align is defined %}align-{{ embedParams.align }}{% endif %}{% if embedParams.class is defined %} {{ embedParams.class }}{% endif %}">
{{ fos_httpcache_tag('relation-location-' ~ embedParams.id) }}
{{
render(
controller(
Expand Down
@@ -1,3 +1,4 @@
<div class="{% if embedParams.align is defined %}align-{{ embedParams.align }}{% endif %}{% if embedParams.class is defined %} {{ embedParams.class }}{% endif %}">
{{ fos_httpcache_tag('relation-location-' ~ embedParams.id) }}
Location #{{ embedParams.id }}: You do not have permission to view this Location
</div>
Expand Up @@ -5,6 +5,7 @@
{% if embedParams.link is defined %}
{% set params = params|merge( { "linkParameters": embedParams.link } ) %}
{% endif %}
{{ fos_httpcache_tag('relation-location-' ~ embedParams.id) }}
{{
render(
controller(
Expand Down
@@ -1 +1,2 @@
{{ fos_httpcache_tag('relation-location-' ~ embedParams.id) }}
[[ Location #{{ embedParams.id }}: You do not have permission to view this Location ]]
Expand Up @@ -267,6 +267,7 @@
{% if not ez_is_field_empty( content, field ) %}
<ul {{ block( 'field_attributes' ) }}>
{% for contentId in field.value.destinationContentIds %}
{{ fos_httpcache_tag('relation-' ~ contentId) }}
<li>
{{ render( controller( "ez_content:viewAction", {'contentId': contentId, 'viewType': 'embed', 'noLayout': 1} ) ) }}
</li>
Expand Down Expand Up @@ -432,6 +433,7 @@
{% block ezobjectrelation_field %}
{% spaceless %}
{% if not ez_is_field_empty( content, field ) %}
{{ fos_httpcache_tag('relation-' ~ field.value.destinationContentId) }}
<div {{ block( 'field_attributes' ) }}>
{{ render( controller( "ez_content:viewAction", {'contentId': field.value.destinationContentId, 'viewType': 'text_linked', 'noLayout': 1} ) ) }}
</div>
Expand Down

0 comments on commit 11b1c7e

Please sign in to comment.