Skip to content

Commit

Permalink
Merge pull request #86 from Dahlgren/feature/operations-user-link
Browse files Browse the repository at this point in the history
Link to operation maker from operation
  • Loading branch information
Dahlgren authored Jul 7, 2018
2 parents ef702de + ce903bb commit 6927826
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/operations/templates/operations_controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,20 @@
</div>

<div class="pull-left hidden-xs" style="margin-right: 1em">
<div class="avatar-small" style="background-image: url({{ operation.author.avatar_url }});" alt=""></div>
<a href="users/{{ operation.author.id }}">
<div class="avatar-small" style="background-image: url({{ operation.author.avatar_url }});" alt=""></div>
</a>
</div>

<div class="operation-overlay-title">
<span>
<a ng-href="operations/{{ operation.id }}">{{ operation.title }}</a>
</span>
<span class="hidden-xs">
av {{ operation.author.name }}
av
<a href="users/{{ operation.author.id }}">
{{ operation.author.name }}
</a>
</span>
</div>

Expand Down

0 comments on commit 6927826

Please sign in to comment.