From 27ae41c833d9ad65e2dda8e691e9a1fbd3e46769 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Wed, 5 Dec 2012 15:33:47 +0800 Subject: [PATCH] make journal list easy to read --- app/controllers/desktop/journal_lists_controller.rb | 3 +-- app/views/desktop/app_manager.html.erb | 0 app/views/desktop/desktop.html.erb | 0 app/views/desktop/index.html.erb | 0 app/views/desktop/journal_lists/index.html.erb | 5 ++++- 5 files changed, 5 insertions(+), 3 deletions(-) mode change 100755 => 100644 app/views/desktop/app_manager.html.erb mode change 100755 => 100644 app/views/desktop/desktop.html.erb mode change 100755 => 100644 app/views/desktop/index.html.erb diff --git a/app/controllers/desktop/journal_lists_controller.rb b/app/controllers/desktop/journal_lists_controller.rb index 8605b47d..4ced5055 100644 --- a/app/controllers/desktop/journal_lists_controller.rb +++ b/app/controllers/desktop/journal_lists_controller.rb @@ -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 diff --git a/app/views/desktop/app_manager.html.erb b/app/views/desktop/app_manager.html.erb old mode 100755 new mode 100644 diff --git a/app/views/desktop/desktop.html.erb b/app/views/desktop/desktop.html.erb old mode 100755 new mode 100644 diff --git a/app/views/desktop/index.html.erb b/app/views/desktop/index.html.erb old mode 100755 new mode 100644 diff --git a/app/views/desktop/journal_lists/index.html.erb b/app/views/desktop/journal_lists/index.html.erb index fad6ca66..776f8dcc 100644 --- a/app/views/desktop/journal_lists/index.html.erb +++ b/app/views/desktop/journal_lists/index.html.erb @@ -10,9 +10,12 @@