2012-10-27 06:11:37 +00:00
|
|
|
{% load i18n %}
|
2012-09-01 09:46:46 +00:00
|
|
|
<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 %}
|
2012-10-24 08:59:19 +00:00
|
|
|
<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>
|
2012-09-26 02:49:00 +00:00
|
|
|
</select>
|
2012-07-28 08:41:24 +00:00
|
|
|
<input id="repo_id" type="hidden" name="repo_id" value="" />
|
2012-07-31 06:58:47 +00:00
|
|
|
<p class="error hide"></p>
|
2012-10-27 06:11:37 +00:00
|
|
|
<input type="submit" value="{% trans "Submit"%}" id="share-submit-btn" />
|
2012-07-28 08:41:24 +00:00
|
|
|
</form>
|