1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-15 07:52:14 +00:00
seahub/templates/snippets/repo_share_form.html

20 lines
941 B
HTML
Raw Normal View History

2012-10-27 06:11:37 +00:00
{% load i18n %}
<form id="repo-share-form" action="{{ post_url }}" method="post" name="repo-share-form" class="hide">
2012-10-27 06:11:37 +00:00
<p>{% trans "Share to"%}</p>
<textarea id="email_or_group" name="email_or_group" placeholder="{% trans "Emails or Groups"%}"></textarea>
2012-10-23 09:46:15 +00:00
{% if cloud_mode %}
{% if org %}
2012-10-27 06:11:37 +00:00
<p class="tip">{% trans "Tip: must be org members or org groups, type all to share to public library."%}</p>
2012-10-23 09:46:15 +00:00
{% endif %}
{% else %}
2012-10-27 06:11:37 +00:00
<p class="tip">{% trans "Tip: type all to share to public library."%}</p>
2012-10-20 02:28:22 +00:00
{% endif %}
<select name="permission" class="share-permission-select">
2012-10-27 06:11:37 +00:00
<option value="rw" selected="selected">{% trans "Read-Write"%}</option>
<option value="r">{% trans "Read-Only"%}</option>
</select>
<input id="repo_id" type="hidden" name="repo_id" value="" />
<p class="error hide"></p>
2012-10-27 06:11:37 +00:00
<input type="submit" value="{% trans "Submit"%}" id="share-submit-btn" />
</form>