Explanation update and profile link button

This commit is contained in:
Inga Kirschnick 2023-02-24 15:46:44 +01:00
parent 8b01777318
commit d2828cabbe
2 changed files with 13 additions and 1 deletions

View File

@ -86,6 +86,9 @@
<span class="card-title">Share your Corpus</span>
<br>
<p></p>
<p><b>Change your Corpus Status to Public</b></p>
<p><i>Other users can only see the meta data of your corpus. The files of the corpus remain private and can only be viewed via a share link.</i></p>
<br>
<div class="action-switch switch" data-action="toggle-is-public">
<span class="share"></span>
<label>
@ -96,6 +99,14 @@
</div>
<br>
<p></p>
<hr style="height:1px;border:none;color:grey;background-color:grey;">
<br>
<p></p>
<p><b>Create a link to share your corpus files with your team</b></p>
<p><i>With the link other users follow your corpus directly, if it has not expired.
You can set different roles via the link, you can also edit them later in the menu below.
It is recommended not to set the expiration date of the link too far.</i></p>
<br>
<div class="row">
<div class="col s4">
<div class="input-field">

View File

@ -68,11 +68,12 @@
</td>
</tr>
</table>
{% if not current_user.is_following_corpus(corpus) %}
<br>
<p></p>
{% if not current_user.is_following_corpus(corpus) %}
<a class="waves-effect waves-light btn-small">Request Corpus</a>
{% endif %}
<a class="waves-effect waves-light btn-small" href="{{ url_for('users.user', user_id=corpus.user.id) }}">View profile</a>
</div>
</div>
</div>