mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-19 23:48:51 +00:00
21 lines
1.0 KiB
HTML
21 lines
1.0 KiB
HTML
{% load i18n %}
|
|
<form id="repo-share-form" action="{{ post_url }}" method="post" name="repo-share-form" class="hide">
|
|
<h3>{% trans "Share Library"%}</h3>
|
|
<p>{% trans 'Share <span class="op-target"></span> to' %}</p>
|
|
<textarea id="email_or_group" name="email_or_group" placeholder="{% trans "Emails or Groups, Seperated by ','"%}"></textarea>
|
|
<select name="permission" class="share-permission-select">
|
|
<option value="rw" selected="selected">{% trans "Read-Write"%}</option>
|
|
<option value="r">{% trans "Read-Only"%}</option>
|
|
</select>
|
|
{% if cloud_mode %}
|
|
{% if org %}
|
|
<p class="tip">{% trans 'Tip: must be organization members or organization groups, enter "all" to share to public library.' %}</p>
|
|
{% endif %}
|
|
{% else %}
|
|
<p class="tip">{% trans 'Tip: enter "all" to share to public library.' %}</p>
|
|
{% endif %}
|
|
<input id="repo_id" type="hidden" name="repo_id" value="" />
|
|
<p class="error hide"></p>
|
|
<input type="submit" value="{% trans "Submit"%}" id="share-submit-btn" />
|
|
</form>
|