diff --git a/app/templates/corpora/corpus.html.j2 b/app/templates/corpora/corpus.html.j2 index 8495040333d661d400067108b0cbbf58df10af85..790d4face3f7bfa3f6c11b726780a0b2851623c6 100644 --- a/app/templates/corpora/corpus.html.j2 +++ b/app/templates/corpora/corpus.html.j2 @@ -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"> diff --git a/app/templates/corpora/public_corpus.html.j2 b/app/templates/corpora/public_corpus.html.j2 index 17a7ae072afcdeeb01c97f756b697d680aa71ed5..edf6ed74f916e7284aa195d600508d742759bc4c 100644 --- a/app/templates/corpora/public_corpus.html.j2 +++ b/app/templates/corpora/public_corpus.html.j2 @@ -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>