make journal list easy to read
This commit is contained in:
parent
3e752b94ec
commit
27ae41c833
|
@ -7,8 +7,7 @@ class Desktop::JournalListsController < ApplicationController
|
|||
[ j.journal_title,
|
||||
j.journal_level_type_ids.map do |type|
|
||||
level_types.find(type).title
|
||||
end.join(",")
|
||||
].join(" -- ")
|
||||
end]
|
||||
end
|
||||
|
||||
@journal_lists = all_journal_lists.uniq
|
||||
|
|
|
@ -10,9 +10,12 @@
|
|||
<div class="s_grid_con s_form">
|
||||
<ul>
|
||||
<% end %>
|
||||
|
||||
<li class="s_grid_row">
|
||||
<%= journal_list %>
|
||||
<% title, level = journal_list %>
|
||||
<%= title %> -- <%= level.join(",") %>
|
||||
</li>
|
||||
|
||||
<% if ( i % 5 ) == 4 %>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Reference in New Issue