education/classroom

View on GitHub
app/views/stafftools/group_assignment_repos/_group_assignment_repo.html.erb

Summary

Maintainability
Test Coverage
<div class="d-flex flex-md-row flex-items-center classroom-resource-item">
  <div class="col-1 d-flexp">
    <span class="group-assignment-icon assignment-icon-group left">
      <%= octicon 'repo' %>
    </span>
  </div>

  <div class="col-10 col-md-10 d-flex flex-column">
    <%= link_to stafftools_group_assignment_repo_path(group_assignment_repo.id) do %>
      <strong class="search-result-title"><%= t('views.stafftools.group_assignment_repos.group_assignment_title', title: group_assignment_repo.group_assignment.title) %></strong>
    <% end %>

    <span class="text-gray css-truncate css-truncate-target">Created <%= local_time_ago(group_assignment_repo.created_at) %></span>
  </div>
</div>