aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/manage/manage.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/cgi/templates/manage/manage.html b/cgi/templates/manage/manage.html
index 06b1737..1089cdf 100644
--- a/cgi/templates/manage/manage.html
+++ b/cgi/templates/manage/manage.html
@@ -4,7 +4,7 @@
<div style="margin:0.5em 0;"><strong>BANDEJA DE ENTRADA</strong>
<br />
Denuncias:
- <?py if int(reports) > 0: ?>
+ <?py if reports > 0: ?>
<a href="#{cgi_url}manage/reports" style="color:red;font-weight:bold;">#{reports}</a>
<?py else: ?>
0
@@ -12,11 +12,12 @@
<hr />
<strong>NOTICIAS DEL STAFF</strong>
</center>
-<dl style="margin:0 2.5%">
+<dl style="margin:0 2.5%;">
<?py for post in posts: ?>
- <dt><strong>#{post['title'] if post['title'] else "Sin asunto"}</strong><br />#{post['id']} : <b class="name">${post['name']}</b> : <span class="date" data-unix="${post['timestamp']}"}>${post['timestamp_formatted']}</span></dt>
- <dd style="margin-bottom:1em;">#{post['message']}</dd>
+ <dt class="info"><strong class="subj">#{post['title'] if post['title'] else "Sin asunto"}</strong><br />#{post['id']} : <span class="info"><b class="name">${post['name']}</b> : <span class="date" data-unix="${post['timestamp']}"}>${post['timestamp_formatted']}</span></dt>
+ <dd>#{post['message']}</dd>
+ <br />
<?py #endfor ?>
</dl>
<hr />
-<?py include('templates/base_bottom.html') ?> \ No newline at end of file
+<?py include('templates/base_bottom.html') ?>