Add basics for contribution details

Route, controller, links, selected property/styles, etc.
This commit is contained in:
2019-07-12 20:16:06 +02:00
parent 525a39479b
commit 7236b2d2b3
11 changed files with 86 additions and 11 deletions
+2 -3
View File
@@ -1,8 +1,7 @@
<tbody>
{{#each contributorList as |c|}}
<tr role="button"
class="{{if (is-current-user c.contributor) "current-user"}} {{if (eq c.contributor.id selectedContributorId) "selected"}}"
{{action "openContributorDetails" c.contributor}}>
<tr role="button" {{action "openContributorDetails" c.contributor}}
class="{{if (is-current-user c.contributor) "current-user"}} {{if (eq c.contributor.id selectedContributorId) "selected"}}">
<td class="person">
{{user-avatar contributor=c.contributor}} {{c.contributor.name}}
</td>