mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-04 03:08:25 +00:00 
			
		
		
		
	accompanying period work: add delete twig
This commit is contained in:
		@@ -169,8 +169,9 @@ class AccompanyingCourseWorkController extends AbstractController
 | 
			
		||||
        // }
 | 
			
		||||
 | 
			
		||||
        return $this->render('@ChillPerson/AccompanyingCourseWork/delete.html.twig', array(
 | 
			
		||||
           'work' => $work,
 | 
			
		||||
           'delete_form' => $form->createView()
 | 
			
		||||
            'accompanyingCourse' => $work->getAccompanyingPeriod(),
 | 
			
		||||
            'work' => $work,
 | 
			
		||||
            'delete_form' => $form->createView()
 | 
			
		||||
        ));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,16 @@
 | 
			
		||||
{% extends "@ChillPerson/AccompanyingCourse/layout.html.twig" %}
 | 
			
		||||
 | 
			
		||||
{% set activeRouteKey = 'chill_activity_activity_list' %}
 | 
			
		||||
 | 
			
		||||
{% block title  'Remove activity'|trans %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
    {{ include('@ChillMain/Util/confirmation_template.html.twig',
 | 
			
		||||
        {
 | 
			
		||||
            'title'             : 'Remove activity'|trans,
 | 
			
		||||
            'confirm_question'  : 'Are you sure you want to remove the activity about "%name%" ?'|trans({ '%name%' : work.id } ),
 | 
			
		||||
            'cancel_route'      : 'chill_activity_activity_list',
 | 
			
		||||
            'cancel_parameters' : { 'accompanying_period_id' : work.id},
 | 
			
		||||
            'form'              : delete_form
 | 
			
		||||
        } ) }}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user