Compare commits
No commits in common. "f228f01c62cd67ed1bb2ff287c3c3ac82aa03f40" and "de04ab9bdbb768dbea200672ad48cbc7095b516e" have entirely different histories.
f228f01c62
...
de04ab9bdb
|
@ -46,7 +46,6 @@ class SondeController extends Controller
|
||||||
elseif($route=="cadoles_portal_user_page_view") {
|
elseif($route=="cadoles_portal_user_page_view") {
|
||||||
if($usage=="group") $usagesonde="collaboratif";
|
if($usage=="group") $usagesonde="collaboratif";
|
||||||
elseif($usage=="user") $usagesonde="collaboratif";
|
elseif($usage=="user") $usagesonde="collaboratif";
|
||||||
elseif($usage=="accueil") $usagesonde="accueil";
|
|
||||||
else $usagesonde="portail";
|
else $usagesonde="portail";
|
||||||
}
|
}
|
||||||
elseif(stripos($route,"cadoles_portal_user_calendar")!==false)
|
elseif(stripos($route,"cadoles_portal_user_calendar")!==false)
|
||||||
|
|
|
@ -288,12 +288,7 @@
|
||||||
{% if entity.id is defined %}
|
{% if entity.id is defined %}
|
||||||
{% for calendar in calendars %}
|
{% for calendar in calendars %}
|
||||||
{% if calendar.id==entity.id %}
|
{% if calendar.id==entity.id %}
|
||||||
{% if access=="config" %}
|
showCalendar({{ calendar.id }}, {{ calendar.canadd }});
|
||||||
{% set calendarcanadd=true %}
|
|
||||||
{% else %}
|
|
||||||
{% set calendarcanadd=calendar.canadd %}
|
|
||||||
{% endif %}
|
|
||||||
showCalendar({{ calendar.id }}, {{ calendarcanadd }});
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -13,12 +13,9 @@
|
||||||
{% set forcereload=page.toreload %}
|
{% set forcereload=page.toreload %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set usage="portal" %}
|
|
||||||
{% if loop.first %} {% set usage="accueil" %} {%endif %}
|
|
||||||
|
|
||||||
{% if entity.id is defined and page.id==entity.id %}
|
{% if entity.id is defined and page.id==entity.id %}
|
||||||
<li id="menupage-{{page.id}}" class="active" style="cursor:pointer">
|
<li id="menupage-{{page.id}}" class="active" style="cursor:pointer">
|
||||||
<a onClick="showPage({{ page.id }},{{ page.pagecategory.id }},'{{ page.canupdate }}','{{usage}}','{{forcereload}}',null,'{{page.name}}')">
|
<a onClick="showPage({{ page.id }},{{ page.pagecategory.id }},'{{ page.canupdate }}','portal','{{forcereload}}',null,'{{page.name}}')">
|
||||||
{% if page.fonticon %}
|
{% if page.fonticon %}
|
||||||
<i class="{{ page.fonticon }} fa-faw"></i>
|
<i class="{{ page.fonticon }} fa-faw"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -261,9 +258,7 @@
|
||||||
{% if gotoroute is empty %}
|
{% if gotoroute is empty %}
|
||||||
{% for page in pagesadmin %}
|
{% for page in pagesadmin %}
|
||||||
{% if page.id==entity.id %}
|
{% if page.id==entity.id %}
|
||||||
{% set usage="portal" %}
|
showPage({{ page.id }}, {{ page.pagecategory.id }},'{{ page.canupdate }}','portal',false,null,'{{page.name}}');
|
||||||
{% if loop.first %} {% set usage="accueil" %} {%endif %}
|
|
||||||
showPage({{ page.id }}, {{ page.pagecategory.id }},'{{ page.canupdate }}','{{usage}}',false,null,'{{page.name}}');
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue