mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-16 21:13:50 +00:00
Add home for users and clubs
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
|
||||
<div class="tool-bar">
|
||||
<div class="tools">
|
||||
<div>
|
||||
{% set home = user.home %}
|
||||
{% if home %}
|
||||
<a href="{{ url('core:file_detail', home.id, popup) }}">{% trans %}My files{% endtrans %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if file %}
|
||||
<a href="{{ url('core:file_detail', file.id, popup) }}">{% trans %}View{% endtrans %}</a>
|
||||
{% if can_edit(file, user) %}
|
||||
|
Reference in New Issue
Block a user