service_desk = m.ForeignKey(ServiceDesk)
access = m.CharField(max_length=5,
- default='CLOSE',
+ default='LOGIN',
choices = [
('ANON', _('World-accessible')),
('LOGIN', _('Accessible to all logged-in users')),
('STUDT', _('Accessible to course students (by section)')),
('INVIT', _('Accessible to course students (by invitation code)')),
- ('CLOSE', _('Accessible only to course owners'))])
+ ('CLOSE', _('Accessible only to course-site owners'))])
# For sites that use a passkey as an invitation (INVIT access).
# Note: only set this value using 'generate_new_passkey'.
from conifer.libsystems.marcxml import record_to_dictionary
from conifer.libsystems.marcxml import marcxml_dictionary_to_dc as to_dublin
title = _('Add physical or electronic item, by catalogue search')
-helptext = _('Use keywords or CCL syntax for searching, for example: ti="detroit river" and au="wilgus"')
+helptext = _('Use keywords or CCL syntax for searching, for example:')
+example = 'ti="detroit river" and au="wilgus"'
dc_keys = ['dc:title', 'dc:creator', 'dc:publisher', 'dc:date']
?>
<html xmlns="http://www.w3.org/1999/xhtml"
<h2>${title}</h2>
<div class="helptext">
${helptext}
+ <a href=".?query=${urllib.quote(example)}">${example}</a>
</div>
<form method="GET" action=".">