Hi to all,
In "Your submissions" page, one may find (among other things) the
reference numbers of the finished Submissions/Approvals etc.
I was asked to change the text of the reference number, and provide
links to the actual document instead (using the reference number as a
search keyword). The solution is dead simple and I think it would be
useful to most users, so here it is:
In the websubmit_templates.py file, look for:
if operator.mod(num,2) == 0:
color = "#e0e0e0"
else:
color = "#eeeeee"
if submission['reference']:
reference = submission['reference']
and change the last two lines with the following:
if submission['reference']:
if submission['pending']:
reference = submission['reference']
else:
reference = """<a
href="search?ln=%(ln)s&p=%(reference)s&f=reportnumber">%(reference)s</a>
""" % {
'ln' : ln,
'reference' : submission['reference']
}
This should give you a link to the actual document [provided that
reportnumber is added in an appropriate MARC field (ie 037__a, 909C0r,
088__a) and bibindex is run]
Regards,
Theodoros
ps. Beware, I'm just a beginner in Python, so double check the code
before importing it into your system...