Public Page update

This commit is contained in:
Inga Kirschnick 2023-03-02 09:59:47 +01:00
parent e11b2e3c1a
commit b364480de6

View File

@ -79,7 +79,7 @@
</div> </div>
</div> </div>
{% if current_user.is_following_corpus(corpus)%} {% if cfa.role.has_permission('VIEW') %}
<div class="card"> <div class="card">
<div class="card-content"> <div class="card-content">
<span class="card-title" id="files">Corpus files</span> <span class="card-title" id="files">Corpus files</span>
@ -87,7 +87,16 @@
</div> </div>
</div> </div>
{% endif %} {% endif %}
</div>
{% if cfa.role.has_permission('UPDATE_FOLLOWER') %}
<div class="card">
<div class="card-content">
<span class="card-title" id="files">Corpus followers</span>
<div class="corpus-follower-list" data-user-id="{{ corpus.user.hashid }}" data-corpus-id="{{ corpus.hashid }}"></div>
</div>
</div>
{% endif %}
</div> </div>
</div> </div>
</div> </div>