861 |
861 |
r += htmltext('<td %s></td>' % style) # lock
|
862 |
862 |
if include_submission_channel:
|
863 |
863 |
r += htmltext('<td>%s</td>') % formdata.get_submission_channel_label()
|
864 |
|
r += htmltext('<td>%s</td>') % formdata.formdef.name
|
865 |
|
r += htmltext('<td><a href="%s">%s</a>') % (
|
866 |
|
formdata.get_url(backoffice=True), formdata.get_display_id())
|
|
864 |
r += htmltext('<td>%s') % formdata.formdef.name
|
867 |
865 |
if formdata.digest:
|
868 |
|
r += htmltext(' <small>(%s)</small>') % formdata.digest
|
|
866 |
r += htmltext(' <small>%s</small>') % formdata.digest
|
869 |
867 |
r += htmltext('</td>')
|
|
868 |
r += htmltext('<td><a href="%s">%s</a></td>') % (
|
|
869 |
formdata.get_url(backoffice=True), formdata.get_display_id())
|
870 |
870 |
r += htmltext('<td class="cell-time">%s</td>') % misc.localstrftime(
|
871 |
871 |
formdata.receipt_time)
|
872 |
872 |
r += htmltext('<td class="cell-time">%s</td>') % misc.localstrftime(
|
... | ... | |
2158 |
2158 |
cat_formdatas = formdata_by_category[cat.id]
|
2159 |
2159 |
else:
|
2160 |
2160 |
cat_formdatas = formdatas
|
2161 |
|
r += htmltext('<ul>')
|
|
2161 |
r += htmltext('<ul class="user-formdatas">')
|
2162 |
2162 |
for formdata in cat_formdatas:
|
2163 |
2163 |
status = formdata.get_status()
|
2164 |
2164 |
if status:
|
... | ... | |
2176 |
2176 |
formdata.get_url(backoffice=True),
|
2177 |
2177 |
formdata.formdef.name)
|
2178 |
2178 |
|
2179 |
|
r += htmltext('(<span class="id">%s') % formdata.get_display_id()
|
2180 |
|
if formdata.digest:
|
2181 |
|
r += htmltext(', %s') % formdata.digest
|
2182 |
|
r += htmltext('</span>), ')
|
|
2179 |
r += htmltext('(<span class="id">%s</span>), ') % formdata.get_display_id()
|
2183 |
2180 |
r += htmltext('<span class="datetime">%s</span> '
|
2184 |
2181 |
'<span class="status">(%s)</span>') % (
|
2185 |
2182 |
submit_date, status_label)
|
|
2183 |
if formdata.digest:
|
|
2184 |
r += htmltext('<small>%s</small>') % formdata.digest
|
2186 |
2185 |
r += htmltext('</li>')
|
2187 |
2186 |
r += htmltext('</ul>')
|
2188 |
2187 |
r += htmltext('</div>')
|