<div class="submission-header page-header">
  <h1 class="pull-left">
    <span class="submission-language">
      <a
        href="<%= path_for(submission.problem.track_id) %>"
        data-toggle="tooltip"
        data-placement="bottom"
        title="<%= submission.problem.language %>">
        <span class="language circle <%= submission.language %>-icon">&nbsp;</span>
      </a>
    </span>
    <%= submission.problem.name %>
  </h1>
  <%= erb :"submissions/toolbar", locals: { submission: submission, last_in_inbox: last_in_inbox, own_uuid: submission.exercise_uuid_by(current_user), successor: successor } %>
  <div class="clearfix"></div>
  <div class="submission-author text-muted">
    submitted by <%= profile_link(submission.user) %>
    <%= ago(submission.created_at) %>
  </div>
</div>

<div class="submission-header page-header">
  <h1 class="pull-left">
    <span class="submission-language">
      <a
        href="<%= path_for(submission.problem.track_id) %>"
        data-toggle="tooltip"
        data-placement="bottom"
        title="<%= submission.problem.language %>">
        <span class="language circle <%= submission.language %>-icon">&nbsp;</span>
      </a>
    </span>
    <%= submission.problem.name %>
  </h1>
  <%= erb :"submissions/toolbar", locals: { submission: submission, last_in_inbox: last_in_inbox, own_uuid: submission.exercise_uuid_by(current_user), successor: successor } %>
  <div class="clearfix"></div>
  <div class="submission-author text-muted">
    submitted by <%= gravatar_tag submission.user.avatar_url, size: 20 %>
    <%= profile_link(submission.user) %>
    <%= ago(submission.created_at) %>
  </div>
</div>

Add author avatar to code page
Add author avatar to code page
