Child: [7af05e] (diff)

Download this file

subscription_form.html    21 lines (20 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude"
py:attrs="attrs" class="discussion_subscription_form">
<?python from allura.lib.security import has_artifact_access?>
<div py:if="show_actions" class="actions">
<a href="${value.url()}moderate/" class="btn ico-l"
py:if="has_artifact_access('moderate', value)()"><b class="ui-icon ui-icon-pencil"></b> <span>Edit</span></a>
<a href="${value.email_link(subject=None)}" class="btn ico"
py:if="show_discussion_email"><b class="ui-icon ui-icon-mail-closed"></b> <span>Email</span></a>
<a href="" class="btn ico follow"><b class="ui-icon ui-icon-signal-diag"></b> <span>Follow</span></a>
</div>
<div class="clear"/>
${fields['page_list'].display(limit=limit, page=page, count=count)}
<form method="$method" action="$action" enctype="$enctype" class="follow_form">
${fields['threads'].display(value=threads)}
</form>
${fields['page_list'].display(limit=limit, page=page, count=count)}
${fields['page_size'].display(limit=limit)}
</div>