File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 <div class =" " >
2929 <div class =" d-flex justify-content-between align-items-center mb-6" >
3030 <h5 class =" mb-0" >{{ " page.contents" | translate_admin }}:</h5 >
31- {% if is_granted(' ROLE_SUPER_ADMIN ' ) %}
31+ {% if is_granted(' ROLE_ADMIN ' ) %}
3232 <a class =" btn btn-outline-primary btn-sm rounded-pill"
3333 href =" {{ path(' page_add_new_content' , {' id' : entity .id }) }}" >{{ " page.add_a_new_content" | translate_admin }}</a >
3434 {% endif %}
5858 </div >
5959 </div >
6060 {% else %}
61- {% if not entity .isSeparateContent and is_granted(' ROLE_SUPER_ADMIN ' ) %}
61+ {% if not entity .isSeparateContent and is_granted(' ROLE_ADMIN ' ) %}
6262 <a class =" btn btn-outline-primary btn-sm rounded-pill"
6363 href =" {{ path(' page_add_new_content' , {' id' : entity .id }) }}" >{{ " page.add_a_new_content" | translate_admin }}</a >
6464 {% endif %}
You can’t perform that action at this time.
0 commit comments