Sha256: c3ca27cdcebb12d6955f49c01546776f17ca5ee2c5290c5be15bec1af554f0ae

Contents?: true

Size: 611 Bytes

Versions: 22

Compression:

Stored size: 611 Bytes

Contents

<div class="relation">
  <%- if defined?(concept) -%>
    <% notes = concept.notes_for_class(klass) %>
    <h4><%= klass.model_name.human(:count => notes.count) %></h4>
    <div class="relation-body">
      <%= notes.any? ? render(:partial => 'partials/note/note', :collection => notes) : "-" %>
    </div>
  <%- elsif defined?(label) -%>
    <% notes = label.notes_for_class(klass) %>
    <h4><%= klass.model_name.human(:count => notes.count) %></h4>
    <div class="relation-body">
      <%= notes.any? ? render(:partial => 'partials/note/note', :collection => notes) : "-" %>
    </div>
  <%- end -%>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
iqvoc-3.2.11 app/views/partials/note/_base.html.erb
iqvoc-3.2.10 app/views/partials/note/_base.html.erb
iqvoc-3.2.9 app/views/partials/note/_base.html.erb
iqvoc-3.2.8 app/views/partials/note/_base.html.erb
iqvoc-3.5.6 app/views/partials/note/_base.html.erb
iqvoc-3.5.5 app/views/partials/note/_base.html.erb
iqvoc-3.5.4 app/views/partials/note/_base.html.erb
iqvoc-3.2.7 app/views/partials/note/_base.html.erb
iqvoc-3.5.3 app/views/partials/note/_base.html.erb
iqvoc-3.5.2 app/views/partials/note/_base.html.erb
iqvoc-3.5.1 app/views/partials/note/_base.html.erb
iqvoc-3.5.0 app/views/partials/note/_base.html.erb
iqvoc-3.4.0 app/views/partials/note/_base.html.erb
iqvoc-3.3.4 app/views/partials/note/_base.html.erb
iqvoc-3.3.3 app/views/partials/note/_base.html.erb
iqvoc-3.3.2 app/views/partials/note/_base.html.erb
iqvoc-3.3.1 app/views/partials/note/_base.html.erb
iqvoc-3.3.0 app/views/partials/note/_base.html.erb
iqvoc-3.2.6 app/views/partials/note/_base.html.erb
iqvoc-3.2.5 app/views/partials/note/_base.html.erb