Changeset 78 for plone4bio.base/trunk
- Timestamp:
- 08/29/09 02:45:13 (3 years ago)
- Location:
- plone4bio.base/trunk/src/plone4bio/base
- Files:
-
- 1 removed
- 4 modified
-
__init__.py (modified) (1 diff)
-
browser/configure.zcml (modified) (1 diff)
-
browser/seqrecord.py (modified) (1 diff)
-
browser/templates/seqrecord.pt (modified) (1 diff)
-
monkey.py (deleted)
Legend:
- Unmodified
- Added
- Removed
-
plone4bio.base/trunk/src/plone4bio/base/__init__.py
r45 r78 1 1 from zope.i18nmessageid import MessageFactory 2 2 Plone4BioMessageFactory = MessageFactory('plone4bio') 3 4 import monkey5 monkey.__name__6 7 # Kick the permission definition8 #import permissions9 3 10 4 class Plone4BioException(Exception): -
plone4bio.base/trunk/src/plone4bio/base/browser/configure.zcml
r45 r78 64 64 <browser:page 65 65 for="..interfaces.ISeqRecord" 66 name="gff"67 class=".seqrecord.SeqRecord2G FF"66 name="gbk" 67 class=".seqrecord.SeqRecord2Genbank" 68 68 permission="zope2.View" 69 69 /> -
plone4bio.base/trunk/src/plone4bio/base/browser/seqrecord.py
r45 r78 40 40 41 41 #TODO: adapter ??? 42 class SeqRecord2G FF(BrowserView):42 class SeqRecord2Genbank(BrowserView): 43 43 """ """ 44 44 def __call__(self): -
plone4bio.base/trunk/src/plone4bio/base/browser/templates/seqrecord.pt
r45 r78 42 42 43 43 <ul> 44 <li>Export as <a tal:attributes="href string:${here/absolute_url}/fasta"> Fasta</a>45 <li>Export as <a tal:attributes="href string:${here/absolute_url}/g ff">GFF</a>44 <li>Export as <a tal:attributes="href string:${here/absolute_url}/fasta">fasta</a> 45 <li>Export as <a tal:attributes="href string:${here/absolute_url}/gbk">genbank</a> 46 46 </ul> 47 47
