Sha256: cc0da22be1da602e0314dbb752393e24904ac5de5a5271a1919184f1b219fd83

Contents?: true

Size: 933 Bytes

Versions: 1

Compression:

Stored size: 933 Bytes

Contents

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Awaiting Review</h3>
  </div>
  <div class="panel-body">
    <% if @awaiting_revisions and @awaiting_revisions.any? %>
      <ul class="media-list">
        <% @awaiting_revisions.each do |revision| %>
          <li class="media">
            <%= image_tag(avatar_url(revision.user.try(:email)), alt: '', class: 'media-object pull-left') %>
            <%= link_to 'Review', [:edit, revision.revisionable, revision], class: 'pull-right btn btn-default btn-xs' %>
            <div class="media-body">
              <h4 class="media-heading">
                <%= revision.title %>
              </h4>
              <%= truncate(strip_tags(revision.text), length: 120, separator: ' ') %>
            </div>
          </li>
        <% end -%>
      </ul>
    <% else -%>
      <h5>Good Job! Nothing to review.</h5>
    <% end -%>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 app/views/georgia/dashboard/panels/_reviews.html.erb