WIP: vetoed contribution details

Adds a blurb and resubmit button to the detail view for vetoed
contributions.
This commit is contained in:
2019-09-05 11:36:50 +02:00
parent 11f66de6e6
commit f8f1ad644c
5 changed files with 138 additions and 2 deletions
+15 -1
View File
@@ -1,4 +1,4 @@
<section id="contribution-details">
<section id="contribution-details" class={{if model.vetoed "vetoed"}}>
<header class="with-nav">
<h2>Contribution #{{model.id}}</h2>
<nav>
@@ -32,6 +32,20 @@
</a>
</p>
{{/if}}
{{#if model.vetoed}}
<div class="hint vetoed">
<div class="icon">
{{icon-warning}}
</div>
<p>
This contribution has been vetoed, meaning no
kredits will be issued.
</p>
<p>
{{link-to "Re-submit contribution" "signup" class="button small green"}}.
</p>
</div>
{{/if}}
</div>
<div class="actions">