Fix #1502 (program info only visible in about section if user is admin)
This commit is contained in:
parent
12263ff02f
commit
d1889a5e06
|
@ -25,6 +25,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% if g.user.role_admin() %}
|
||||||
<h3>{{_('Linked Libraries')}}</h3>
|
<h3>{{_('Linked Libraries')}}</h3>
|
||||||
<table id="libs" class="table">
|
<table id="libs" class="table">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -44,4 +45,5 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user