Add "give kredits" button to contributor profiles

closes #172
This commit is contained in:
2019-12-12 17:33:08 +01:00
parent 536868002f
commit 0a6b6180b9
2 changed files with 11 additions and 0 deletions
@@ -42,6 +42,10 @@ section#contributor-profile {
} }
} }
} }
.actions {
margin-top: 2rem;
}
} }
.actions { .actions {
@@ -22,6 +22,13 @@
</li> </li>
{{/if}} {{/if}}
</ul> </ul>
<div class="actions">
<p>
{{link-to "♥ Give kredits" "contributions.new"
(query-params contributorId=model.id)
class="button green"}}
</p>
</div>
</div> </div>
<div class="actions"> <div class="actions">