bento_search 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/bento_search/_std_item.html.erb +8 -2
- data/config/locales/en.yml +1 -0
- data/lib/bento_search/version.rb +1 -1
- data/test/dummy/log/test.log +2524 -0
- metadata +13 -7
@@ -29,14 +29,20 @@
|
|
29
29
|
<% if item.any_present?(:authors, :year) %>
|
30
30
|
<p class="bento_item_row first_about">
|
31
31
|
|
32
|
-
<% if item.authors.
|
32
|
+
<% if item.authors.present? %>
|
33
33
|
<span class="authors">
|
34
34
|
<%= item.render_authors_list %>
|
35
35
|
</span>
|
36
36
|
<% end %>
|
37
37
|
|
38
|
+
<% if item.authors.present? && item.year.present? %>
|
39
|
+
<span class="seperator"><%= I18n.t("bento_search.author_date_seperator", :default=>"—") %></span>
|
40
|
+
<% end %>
|
41
|
+
|
38
42
|
<% if item.year.present? %>
|
39
|
-
<span class="date">
|
43
|
+
<span class="date">
|
44
|
+
<%= item.year %>
|
45
|
+
</span>
|
40
46
|
<% end %>
|
41
47
|
|
42
48
|
</p>
|
data/config/locales/en.yml
CHANGED
data/lib/bento_search/version.rb
CHANGED