Skip to content

Commit

Permalink
Slugs adjustmens
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Feb 1, 2020
1 parent 6dc7911 commit 86b8d81
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion api/src/DataFixtures/Resources/ambtenaren.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{% endfor %}
{% if request['@id'] is defined %}
<div class="col-sm-6"> <!-- 4 -->
<a href="{{ path('app_default_view',{'requestType':'https://vtc.zaakonline.nl/request_types/cdd7e88b-1890-425d-a158-7f9ec92c9508','requestParent':'httpss://vrc.zaakonline.nl'~request['@id']}) }}">
<a href="{{ path('app_default_slug',{'requestType':'https://vtc.zaakonline.nl/request_types/cdd7e88b-1890-425d-a158-7f9ec92c9508','requestParent':'httpss://vrc.zaakonline.nl'~request['@id']}) }}">
<div class="affa-testimonial">
<div class="testimonial-text" >
Ambtenaar voor een dag.
Expand Down
2 changes: 1 addition & 1 deletion api/src/DataFixtures/Resources/ceremonie.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<br/>
<br/>
{% if huwelijk is defined and huwelijk%}
<a href="{{ path('app_huwelijk_set',{'id':product.id}) }}" class="btn btn-success btn-icon" >
<a href="{{ path('app_huwelijk_set',{'value':product['@id']]}) }}" class="btn btn-success btn-icon" >
<i class="far fa-calendar-check"></i>
Kies deze Plechtigheid
</a>
Expand Down
6 changes: 3 additions & 3 deletions api/src/DataFixtures/Resources/ceremonies.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</p>
</div>
{% if user is not empty %}
<a href="{{ path('app_default_set',{'slug':'ceremonie','id':'partnerschap'}) }}" class="btn btn-secondary btn-icon btn-block"><i class="far fa-rings-wedding"></i> Kies Partnerschap</a>
<a href="{{ path('app_default_set',{'slug':'ceremonie','value':'partnerschap'}) }}" class="btn btn-secondary btn-icon btn-block"><i class="far fa-rings-wedding"></i> Kies Partnerschap</a>
{% endif %}
</div>

Expand All @@ -52,7 +52,7 @@
</p>
</div>
{% if user is not empty %}
<a href="{{ path('app_default_set',{'slug':'ceremonie','id':'huwelijk'}) }}" class="btn btn-secondary btn-icon btn-block"><i class="far fa-rings-wedding"></i> Kies huwelijk</a>
<a href="{{ path('app_default_set',{'slug':'ceremonie','value':'huwelijk'}) }}" class="btn btn-secondary btn-icon btn-block"><i class="far fa-rings-wedding"></i> Kies huwelijk</a>
{% endif %}
</div>
<div class="affa-feature-icon">
Expand All @@ -69,7 +69,7 @@
</p>
</div>
{% if user is not empty %}
<a href="# {# path('app_default_set',{'slug':'ceremonie','id':'omzetten'}) #}" class="btn btn-secondary btn-icon btn-block disabled"><i class="far fa-rings-wedding"></i> Kies Omzetten</a>
<a href="# {# path('app_default_set',{'slug':'ceremonie','value':'omzetten'}) #}" class="btn btn-secondary btn-icon btn-block disabled"><i class="far fa-rings-wedding"></i> Kies Omzetten</a>
{# <a href="https://www.utrecht.nl/" class="btn btn-secondary btn-icon btn-block"><i class="far fa-rings-wedding"></i> Kies Omzetten</a> #}
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/src/DataFixtures/Resources/getuigen.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
{# We are onlygoing to display this form if we do not yet already have 4 witnesses #}
{% if (request.properties.getuigen is defined and request.properties.getuigen|length < 4) or request.properties.getuigen is not defined %}
<div class="col-md-4">
<form method="post" action="{{ path('app_default_post',{'property':'getuige'}) }}" class="affa-form-contact">
<form method="post" action="{{ path('app_default_post',{'slug':'getuige'}) }}" class="affa-form-contact">
<h3>Toevoegen</h3>
<br/>
{% if request.properties.partners is defined %}
Expand Down
2 changes: 1 addition & 1 deletion api/src/DataFixtures/Resources/locaties.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{% endfor %}
{% if request['@id'] is defined %}
<div class="col-sm-6"> <!-- 4 -->
<a href="{{ path('app_default_view',{'requestType':'https://vtc.zaakonline.nl/request_types/c8704ea6-4962-4b7e-8d4e-69a257aa9577','requestParent':'https://vrc.zaakonline.nl'~request['@id']}) }}">
<a href="{{ path('app_default_slug',{'requestType':'https://vtc.zaakonline.nl/request_types/c8704ea6-4962-4b7e-8d4e-69a257aa9577','requestParent':'https://vrc.zaakonline.nl'~request['@id']}) }}">
<div class="affa-testimonial">
<div class="testimonial-text" >
U kunt ook zelf een eigen locatie aandragen, deze moet dan door de gemeente worden aangewezen als trouw locatie. Hier zijn kosten aan verbonden.
Expand Down
2 changes: 1 addition & 1 deletion api/src/DataFixtures/Resources/melding.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="row animation" {% if app.session.flashbag.peekAll|length > 0 %}data-animation="animation-fade-in" data-delay="400"{% endif %}>
<div class="col-sm-10 col-md-7 col-lg-6 col-sm-offset-0 col-md-offset-0 col-lg-offset-1">
{% if request['@id'] is defined %}
<a href="{{ path('app_default_view',{'requestType':'https://vtc.zaakonline.nl/request_types/146cb7c8-46b9-4911-8ad9-3238bab4313e','requestParent':'https://vrc.zaakonline.nl'~request['@id']}) }}" class="btn btn-primary btn-icon" >
<a href="{{ path('app_default_slug',{'requestType':'https://vtc.zaakonline.nl/request_types/146cb7c8-46b9-4911-8ad9-3238bab4313e','requestParent':'https://vrc.zaakonline.nl'~request['@id']}) }}" class="btn btn-primary btn-icon" >
<i class="fas fa-share-square"></i>
Doe melding
</a>
Expand Down
2 changes: 1 addition & 1 deletion api/src/DataFixtures/Resources/partners.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<p>Want dit doet u natuurlijk samen.</p>
<p>U kunt via deze knop uw partner laten inloggen om uw verzoek te accepteren.</p>
<br/>
<a href="{{ path('app_default_post',{'property':'partner'}) }}" class="btn btn-success btn-lg btn-block btn-icon"><i class="far fa-lock"></i> Uw partner laten inloggen</a>
<a href="{{ path('app_default_post',{'slug':'partner'}) }}" class="btn btn-success btn-lg btn-block btn-icon"><i class="far fa-lock"></i> Uw partner laten inloggen</a>
<br/>

<p>Of u partner via bericht ten huwelijk vragen.</p>
Expand Down
4 changes: 2 additions & 2 deletions api/src/DataFixtures/Resources/verzoeken.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Referentie</th>
<th scope="col">{{ 'reference'|trans }}</th>
<th scope="col">Verzoek type</th>
<th scope="col">Begonnen op</th>
<th scope="col">Status</th>
Expand All @@ -31,7 +31,7 @@
<td>{{ request.reference }}</td>
<td>{{ commonground_resource(request.request_type).name }}</td>
<td>{{ request.date_created}} </td>
<td>{{ request.status }}</td>
<td>{{ request.status|trans }}</td>
<td><a href="{{ path('app_default_slug',{'request':'http://vrc.zaakonline.nl/requests/'~request.id}) }}" class="btn btn-success" role="button">Verder gaan</a></td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 86b8d81

Please sign in to comment.