Commit b96e25a3 authored by Robert Czechowski's avatar Robert Czechowski

Template jwinf: Show list of participations in profile page. Fixes #84

parent 49652403
Pipeline #746 passed with stage
in 5 minutes and 44 seconds
......@@ -185,6 +185,18 @@
</div>
{{/if}}
{{#if firstlogin }}{{else}}
{{#if participations}}
<div class="columns">
<div class="column is-8 is-offset-2">
<h3 class="title is-4">Meine Teilnahmen</h3>
{{#each participations}}
<a href="/contest/{{0}}" style="{{#if this.2}}{{#if this.3}}font-weight:bold;{{else}}font-style:italic;{{/if}}{{/if}}">{{1}}</a> {{#if this.2}}{{#if this.3}}(aktiv){{else}}(beendet){{/if}}{{/if}}<br>
{{/each}}
</div>
</div>
{{/if}}
{{/if}}
{{/inline}}
{{~> (parent)~}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment