Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r122 - trunk/python/pydok/test

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r122 - trunk/python/pydok/test


Chronological Thread 
  • From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r122 - trunk/python/pydok/test
  • Date: Tue, 10 Jun 2008 16:01:47 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: geus
Date: Tue Jun 10 16:01:47 2008
New Revision: 122

Log:
Implemented user-friendlier formatting of "link to iDok" arrows

Modified:
trunk/python/pydok/test/idok_upload_cgi.py

Modified: trunk/python/pydok/test/idok_upload_cgi.py
==============================================================================
--- trunk/python/pydok/test/idok_upload_cgi.py (original)
+++ trunk/python/pydok/test/idok_upload_cgi.py Tue Jun 10 16:01:47 2008
@@ -234,7 +234,7 @@
if output_mode == "iframe":
link_url = generate_self_url(output_mode, "link_file",
repository, folder) \
+ "&dir_entry=" + urllib.quote_plus(entry)
- fo.write('<li
style="list-style-image:url(/icons/small/text.gif);white-space:nowrap"><a
href="%s">%s</a>&nbsp;<a href="%s">&rarr;</a></li>' % (view_url,
escape(entry), link_url))
+ fo.write('<li
style="list-style-image:url(/icons/small/text.gif);white-space:nowrap"><a
href="%s">%s</a>&nbsp;<a href="%s">&rarr; <i style="color:gray">copy link to
iDok</i></a></li>' % (view_url, escape(entry), link_url))
else:
fo.write('<li
style="list-style-image:url(/icons/small/text.gif);white-space:nowrap"><a
href="%s">%s</a></li>' % (view_url, escape(entry)))
fo.write('</ul>')



  • [idok-commit] idok commit r122 - trunk/python/pydok/test, AFS account Roman Geus, 06/10/2008

Archive powered by MHonArc 2.6.19.

Top of Page