File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5959 {% embed ' Embed/stats_table_row_embed.html.twig' %}
6060 {% block title %}
6161 {% if key in [' indices_by_documents' , ' indices_by_primary_size' ] %}
62- <a class =" text-secondary" href =" {{ path(' indices_read' , {' index' : row .title }) }}" >{{ row .title }}</a >
62+ {% if is_granted(' INDICES' , ' global' ) %}
63+ <a class =" text-secondary" href =" {{ path(' indices_read' , {' index' : row .title }) }}" >{{ row .title }}</a >
64+ {% else %}
65+ {{ row .title }}
66+ {% endif %}
6367 {% elseif key in [' indices_by_status' ] and is_granted(' INDICES' , ' global' ) %}
6468 <a class =" text-secondary" href =" {{ path(' indices' , {' status' : row .title }) }}" >{{ row .title | trans }}</a >
6569 {% elseif key in [' indices_by_health' ] and is_granted(' INDICES' , ' global' ) %}
You can’t perform that action at this time.
0 commit comments