codekasten/wortschlucker/templates/poll_admin_details.html
lars 81d84b3498 added submission of content
added more detailed poll view
changed default settings to be more verbose
2010-04-15 11:50:58 +00:00

27 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="layout.html" />
<head>
<title>Poll details</title>
</head>
<body>
<h1>Poll: ${poll.title}</h1>
<ul>
<li>Author: ${poll.author}</li>
<li>Created: ${poll.get_creation_time_string()}</li>
<li>Description: ${poll.description}</li>
<li>Public URL: <a href="${poll.get_url()}" title="link of this poll">${poll.get_url()}</a></li>
<li>Administrative URL: <a href="${poll.get_admin_url()}" title="link for managing this poll">${poll.get_admin_url()}</a> (here)</li>
<li py:if="poll.get_settings()">Settings:<ul>
<li py:for="key, value in poll.get_settings().items()">${key}: ${value}</li>
</ul></li>
<li><a href="${poll.get_edit_url()}" title="edit this poll">Edit this poll</a></li>
<li><a href="${poll.get_delete_url()}" title="delete this poll">Delete this poll</a></li>
</ul>
</body>
</html>