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> <span class="card-title">Share your Corpus</span>
<br> <br>
<p></p> <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"> <div class="action-switch switch" data-action="toggle-is-public">
<span class="share"></span> <span class="share"></span>
<label> <label>
@ -96,6 +99,14 @@
</div> </div>
<br> <br>
<p></p> <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="row">
<div class="col s4"> <div class="col s4">
<div class="input-field"> <div class="input-field">

View File

@ -68,11 +68,12 @@
</td> </td>
</tr> </tr>
</table> </table>
{% if not current_user.is_following_corpus(corpus) %}
<br> <br>
<p></p> <p></p>
{% if not current_user.is_following_corpus(corpus) %}
<a class="waves-effect waves-light btn-small">Request Corpus</a> <a class="waves-effect waves-light btn-small">Request Corpus</a>
{% endif %} {% 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> </div>
</div> </div>