mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 17:28:23 +00:00 
			
		
		
		
	fixes for editing calendar
This commit is contained in:
		| @@ -37,7 +37,7 @@ | ||||
|                                 <div class="duration"> | ||||
|                                     <p> | ||||
|                                         <i class="fa fa-fw fa-hourglass-end"></i> | ||||
|                                         {{ calendar.endDate.diff(calendar.startDate)|date("%H:%M")}} | ||||
|                                         {{ calendar.duration|date('%H:%I')}} | ||||
|                                     </p> | ||||
|                                 </div> | ||||
|                             {% endif %} | ||||
| @@ -47,12 +47,6 @@ | ||||
|                     </div> | ||||
|                     <div class="item-col"> | ||||
|                         <ul class="list-content"> | ||||
|                             {% if calendar.user %} | ||||
|                             <li> | ||||
|                                 <b>{{ 'by'|trans }}{{ calendar.user.usernameCanonical }}</b> | ||||
|                             </li> | ||||
|                             {% endif %} | ||||
|  | ||||
|                             {% if calendar.mainUser is not empty %} | ||||
|                             <li> | ||||
|                                 <b>{{ 'main user concerned'|trans }}: {{ calendar.mainUser.usernameCanonical }}</b> | ||||
| @@ -93,7 +87,7 @@ | ||||
|                 <div class="item-row details"> | ||||
|                     <div class="item-col"> | ||||
|                         {% include 'ChillActivityBundle:Activity:concernedGroups.html.twig' with { | ||||
|                             'context': accompanyingCourse, | ||||
|                             'context': 'calendar_accompanyingCourse', | ||||
|                             'render': 'row', | ||||
|                             'entity': calendar | ||||
|                         } %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user