From 60069658706780aed1d909fb7a7163d7bd067c32 Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 5 Dec 2012 17:51:36 +0800 Subject: [PATCH] view update --- app/assets/javascripts/desktop/journal_pages.js.erb | 2 +- app/views/desktop/co_authors/index.html.erb | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/desktop/journal_pages.js.erb b/app/assets/javascripts/desktop/journal_pages.js.erb index 4e24c5451..02406c733 100644 --- a/app/assets/javascripts/desktop/journal_pages.js.erb +++ b/app/assets/javascripts/desktop/journal_pages.js.erb @@ -260,7 +260,7 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ // o.tinyscrollbar_ext({ main: '.tinycanvas', - fill: '.s_grid_con' + fill: '.g_col' }) $("div[container=true]").unbind(".editcoauthor").on("click.editcoauthor", "a.bt-edit", function(){ $.ajax({ diff --git a/app/views/desktop/co_authors/index.html.erb b/app/views/desktop/co_authors/index.html.erb index 5d130e8de..5664aa3c7 100644 --- a/app/views/desktop/co_authors/index.html.erb +++ b/app/views/desktop/co_authors/index.html.erb @@ -18,10 +18,12 @@ <%= link_to 'Edit', edit_desktop_co_author_path(co_author), :class => "bt-edit" %> <%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?', :class=>"bt-delete" %> - <%= co_author.co_author %> - <%= co_author.email %> - <%= @co_author_relations.find(co_author.co_author_relations_id).relation \ - unless co_author.co_author_relations_id.nil?%> + <% if ( i % 5 ) == 4 %>