Dear Theodoros,

Il mercoledì 4 febbraio 2009 12:15:37 [email protected] ha scritto:
> Hello Invenio developers!
>
> My name is Theodoropoulos Theodoros and I'm one of the sysadmins in
> the (>40) libraries of Aristotle University of Thessaloniki, Greece.
>
> We currently have a heavily modified version of cdsware v0.0.9(!) in
> production here, with more than 110.000 fulltext documents, all
> submitted by librarians. (We're planning to move to the latest Invenio
> release once we feel that it's stable enough and has all the features
> that we currently use. FYI, the latest version is very close to what
> we need!)

Welcome! And already thanks for the detailed feedbacks and patches.

> I've been testing and providing feedback to (=spamming) Tibor since
> 2002 and recently exchanged emails with some of you (Sam, Tony), but
> now I was granted permission to post to the developer mailing list.
> I've spent the last few weeks dealing more closely with the latest
> Invenio version, and I've spotted some issues that I'm planning to
> mention in the emails that will follow... Also, please beware that I'm
> an absolute beginner in python, so (although I'll try to use your
> coding style, etc), I'm sure that you'll probably have a better way to
> deal with things.
>
> In any case, I don't expect anything to be included in the cvs,
> because I don't know your priorities/TODO list and don't want to
> change your roadmap, so please consider them simply as 'feedback' :)
>
> And finally, as a 'treat', here is a mail that I sent a few minutes
> ago to the project-cdsware-users list:
>
> ----- Forwarded message from [email protected] -----
> Ημερομηνία:Wed, 4 Feb 2009 10:30:02 +0200
>      Από:[email protected]
>   Θέμα:"Your submissions" page enhancement
>      Προς:[email protected]
>
> 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...

thank you very much for this suggestion and patch. It will be part of the next 
Invenio release.

Best regards,
        Samuele

-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to