make journal list easy to read

This commit is contained in:
Rueshyna committed 2012-12-05 15:33:47 +08:00
1 parent 3e752b94ec
commit 27ae41c833
5 files changed
+5 -3

No files matched your search

@@ -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
View File
File mode changed.
View File
File mode changed.
Executable → Regular
View File
File mode changed.
@@ -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>