make library admin easier to use

pull/1/head
eric 2013-12-15 02:33:16 -05:00
parent 04ca7ee221
commit a68da46b96
1 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@
<p><b>Library Username</b>: {{ form.instance.user }}</p>
<p><b>Library Email</b>: {{ form.instance.user.email }}</p>
{% else %}
<p><b>Library Username</b>: {{ form.username.errors }}{{ form.username }} This will be the Unglue.it username for the library. You'll be able to log in as the library to do things like setting links making book lists.</p>
<p><b>Library Username</b>: {{ form.username.errors }}{{ form.username }} This will be the Unglue.it username for the library. You ( <i>{{ request.user }}</i> ) will be able to log in as the library to do things like setting links making book lists.</p>
<p><b>Library Email</b>: {{ form.email.errors }}{{ form.email }} The notification address for the library.</p>
{% endif %}
@ -49,14 +49,15 @@
{% else %}
<li> This library has not yet been approved by Unglue.it staff. Please make sure that a <a href="https://www.docracy.com/0_uyw26qv9c/unglue-it-library-license-agreement">library agreement</a> has been executed.</li>
{% endif %}
<li> Go to <a href="{% url library library.user %}">{{ library }} Page</a></li>
<li> Go to <a href="{% url library library.user %}">{{ library }}'s page</a></li>
<li> Go to <a href="{% url supporter library.user %}"><i>{{ library.user }}</i>'s user page</a></li>
{% ifequal request.user library.user %}
<li> <i>You are logged in as the library user.</i> You can...</li>
<li> <i>You are logged in as the library user ( {{ library.user }} ).</i> You can...</li>
<li> ... edit the <a href="{% url supporter library.user %}#edit">Profile Settings</a> or ... </li>
<li> ... <a href="{% url manage_account %}">configure</a> the library's account</li>
{% else %}
{% ifequal request.user library.owner %}
<li> To set links and tagline, configure the account, and build book lists for {{ library }}, first <a href="{% url library_login library.id %}">click here to log in</a> as the library user </li>
<li> To set links and tagline, configure the account, and build book lists for {{ library }}, first <br /> <br /><a class="fakeinput" href="{% url library_login library.id %}">log in as {{ library.user }}</a></li>
{% else %}
<li> <i>{{ library.owner }}</i> is authorized to set links and tagline, configure the account, and build book lists for {{ library }}.</li>
{% endifequal %}