make journal list easy to read
This commit is contained in:
parent
4f31b1362b
commit
05027afa63
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue