2012-10-27 14:11:37 +08:00
|
|
|
{% load i18n %}
|
2012-09-01 17:46:46 +08:00
|
|
|
<form id="repo-share-form" action="{{ post_url }}" method="post" name="repo-share-form" class="hide">
|
2012-10-27 14:11:37 +08:00
|
|
|
<p>{% trans "Share to"%}</p>
|
2012-10-31 19:36:29 +08:00
|
|
|
<textarea id="email_or_group" name="email_or_group" placeholder="{% trans "Emails or Groups, Seperate by ','"%}"></textarea>
|
2012-10-23 17:46:15 +08:00
|
|
|
{% if cloud_mode %}
|
|
|
|
{% if org %}
|
2012-10-27 14:11:37 +08:00
|
|
|
<p class="tip">{% trans "Tip: must be org members or org groups, type all to share to public library."%}</p>
|
2012-10-23 17:46:15 +08:00
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
2012-10-27 14:11:37 +08:00
|
|
|
<p class="tip">{% trans "Tip: type all to share to public library."%}</p>
|
2012-10-20 10:28:22 +08:00
|
|
|
{% endif %}
|
2012-10-24 16:59:19 +08:00
|
|
|
<select name="permission" class="share-permission-select">
|
2012-10-27 14:11:37 +08:00
|
|
|
<option value="rw" selected="selected">{% trans "Read-Write"%}</option>
|
|
|
|
<option value="r">{% trans "Read-Only"%}</option>
|
2012-09-26 10:49:00 +08:00
|
|
|
</select>
|
2012-07-28 16:41:24 +08:00
|
|
|
<input id="repo_id" type="hidden" name="repo_id" value="" />
|
2012-07-31 14:58:47 +08:00
|
|
|
<p class="error hide"></p>
|
2012-10-27 14:11:37 +08:00
|
|
|
<input type="submit" value="{% trans "Submit"%}" id="share-submit-btn" />
|
2012-07-28 16:41:24 +08:00
|
|
|
</form>
|