Sha256: f909be5a8d3845ac97fd89c2f0134a5de7781a85be2692d69ee9eb28cfe9455a

Contents?: true

Size: 664 Bytes

Versions: 5

Compression:

Stored size: 664 Bytes

Contents

<% if result.publisher %>
    <span class="publisher citation">
        <%= result.publisher %><%= result.volume || result.issue || result.pages ? ', ' : '.' %>
    </span>
<% end %>
<% if result.volume %>
    <span class="volume citation">
        <%= t 'citation_labels.volume' %>&nbsp;<%= result.volume %><%= result.issue || result.pages ? ', ' : '.' %>
    </span>
<% end %>
<% if result.issue %>
    <span class="issue citation">
        <%= t 'citation_labels.issue' %>&nbsp;<%= result.issue %><%= result.pages ? ', ' : '.' %>
    </span>
<% end %>
<% if result.pages %>
    <span class="pages citation"><%= pages(result.pages).html_safe %>.</span>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quick_search-core-0.2.0 app/views/quick_search/search/_citation.html.erb
quick_search-core-0.1.1 app/views/quick_search/search/_citation.html.erb
quick_search-core-0.1.0 app/views/quick_search/search/_citation.html.erb
quick_search-core-0.0.1 app/views/quick_search/search/_citation.html.erb
quick_search-core-0.0.1.test app/views/quick_search/search/_citation.html.erb