1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-01 05:49:58 +00:00

Fix #1502 (program info only visible in about section if user is admin)

This commit is contained in:
Ozzieisaacs 2020-07-05 14:00:40 +02:00
parent 12263ff02f
commit d1889a5e06

View File

@ -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 %}