~ubuntu-branches/ubuntu/lucid/prewikka/lucid

« back to all changes in this revision

Viewing changes to prewikka/templates/MessageDetails.py

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2008-07-02 16:49:06 UTC
  • mfrom: (6.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080702164906-q2bkfn6i40hd95tt
Tags: 0.9.14-2
* Update watch file
* Bump Standards version to 3.8.0 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
VFSL=valueFromSearchList
33
33
VFN=valueForName
34
34
currentTime=time.time
35
 
__CHEETAH_version__ = '2.0rc7'
36
 
__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 7)
37
 
__CHEETAH_genTime__ = 1180479709.5309811
38
 
__CHEETAH_genTimestamp__ = 'Wed May 30 01:01:49 2007'
 
35
__CHEETAH_version__ = '2.0.1'
 
36
__CHEETAH_versionTuple__ = (2, 0, 1, 'final', 0)
 
37
__CHEETAH_genTime__ = 1207124026.932538
 
38
__CHEETAH_genTimestamp__ = 'Wed Apr  2 10:13:46 2008'
39
39
__CHEETAH_src__ = 'prewikka/templates/MessageDetails.tmpl'
40
 
__CHEETAH_srcLastModified__ = 'Tue Apr 17 14:21:25 2007'
 
40
__CHEETAH_srcLastModified__ = 'Tue Mar  4 10:31:58 2008'
41
41
__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
42
42
 
43
43
if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
86
86
        ## START - generated method body
87
87
        
88
88
        display = ("block", "none")[VFFSL(SL,"node.hidden",True)]
89
 
        write('<div class="message_details">\n\t<div class="message_details_title"><a href="#" onclick="javascript:toggleVisibility(\'section_')
 
89
        write('''<div class="message_details">
 
90
\t<div class="message_details_title"><a href="#" onclick="javascript:toggleVisibility(\'section_''')
90
91
        _v = VFFSL(SL,"node.id",True) # '$node.id' on line 7, col 95
91
92
        if _v is not None: write(_filter(_v, rawExpr='$node.id')) # from line 7, col 95.
92
 
        write('\'); return false;">')
 
93
        write('''\'); return false;">''')
93
94
        _v = VFFSL(SL,"node.name",True) # '$node.name' on line 7, col 122
94
95
        if _v is not None: write(_filter(_v, rawExpr='$node.name')) # from line 7, col 122.
95
 
        write('</a></div>\n\t<div class="message_details_content" id="section_')
 
96
        write('''</a></div>
 
97
\t<div class="message_details_content" id="section_''')
96
98
        _v = VFFSL(SL,"node.id",True) # '$node.id' on line 8, col 51
97
99
        if _v is not None: write(_filter(_v, rawExpr='$node.id')) # from line 8, col 51.
98
 
        write('" style="display: ')
 
100
        write('''" style="display: ''')
99
101
        _v = VFFSL(SL,"display",True) # '$display' on line 8, col 77
100
102
        if _v is not None: write(_filter(_v, rawExpr='$display')) # from line 8, col 77.
101
 
        write('">\n')
 
103
        write('''">
 
104
''')
102
105
        for entry in VFFSL(SL,"node.entries",True): # generated from line 9, col 3
103
106
            if isinstance(VFFSL(SL,"entry.value",True), dict): # generated from line 10, col 4
104
 
                write('\t\t\t\t')
 
107
                write('''\t\t\t\t''')
105
108
                _v = VFFSL(SL,"display_node",False)(VFFSL(SL,"entry.value",True)) # '$display_node($entry.value)' on line 11, col 5
106
109
                if _v is not None: write(_filter(_v, rawExpr='$display_node($entry.value)')) # from line 11, col 5.
107
 
                write('\n')
 
110
                write('''
 
111
''')
108
112
            else: # generated from line 12, col 4
109
 
                write('\t\t\t\t<div class="message_details_entry">\n\t\t\t\t\t<div class="message_details_entry_name">')
 
113
                write('''\t\t\t\t<div class="message_details_entry">
 
114
\t\t\t\t\t<div class="message_details_entry_name">''')
110
115
                _v = VFFSL(SL,"entry.name",True) # '$entry.name' on line 14, col 46
111
116
                if _v is not None: write(_filter(_v, rawExpr='$entry.name')) # from line 14, col 46.
112
 
                write('</div>\n\t\t\t\t\t<div class="message_details_entry_value">')
 
117
                write('''</div>
 
118
\t\t\t\t\t<div class="message_details_entry_value">''')
113
119
                _v = VFFSL(SL,"entry.value",True) # '$entry.value' on line 15, col 47
114
120
                if _v is not None: write(_filter(_v, rawExpr='$entry.value')) # from line 15, col 47.
115
 
                write('</div>\n\t\t\t\t</div>\n')
116
 
        write('\t</div>\n</div>\n')
 
121
                write('''</div>
 
122
\t\t\t\t</div>
 
123
''')
 
124
        write('''\t</div>
 
125
</div>
 
126
''')
117
127
        
118
128
        ########################################
119
129
        ## END - generated method body
140
150
        ########################################
141
151
        ## START - generated method body
142
152
        
143
 
        write('\n')
 
153
        write('''
 
154
''')
144
155
        _v = VFFSL(SL,"display_node",False)(VFFSL(SL,"node",True)) # '$display_node($node)' on line 23, col 1
145
156
        if _v is not None: write(_filter(_v, rawExpr='$display_node($node)')) # from line 23, col 1.
146
 
        write('\n\n')
 
157
        write('''
 
158
 
 
159
''')
147
160
        
148
161
        ########################################
149
162
        ## END - generated method body
170
183
        ########################################
171
184
        ## START - generated method body
172
185
        
173
 
        write('\n')
 
186
        write('''
 
187
''')
174
188
        self.main_content(trans=trans)
175
189
        
176
190
        ########################################