affcicher le statut privé
This commit is contained in:
@@ -193,7 +193,7 @@ def topic(request):
|
||||
liste += '<td><a href="%s">%s</a></td>' % (request.route_url('blog', id=item.id, slug=item.slug), item.title)
|
||||
liste += '<td>%s</td>' % item.author
|
||||
liste += '<td>%s</td>' % item.created.strftime("%d-%m-%Y")
|
||||
if item.status == 'brouillon':
|
||||
if item.status != 'publié':
|
||||
liste += '<td><span class="label label-danger">%s</span></td>' % item.status
|
||||
liste += '</tr>'
|
||||
liste += '</table></ul>'
|
||||
|
||||
Reference in New Issue
Block a user