mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Public Page update
This commit is contained in:
parent
e11b2e3c1a
commit
b364480de6
@ -79,7 +79,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if current_user.is_following_corpus(corpus)%}
|
||||
{% if cfa.role.has_permission('VIEW') %}
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<span class="card-title" id="files">Corpus files</span>
|
||||
@ -87,8 +87,17 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% 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>
|
||||
{% endblock page_content %}
|
||||
|
Loading…
Reference in New Issue
Block a user