one abstract one column for personal plugin

This commit is contained in:
Rueshyna 2013-03-13 14:05:06 +08:00 committed by Matt K. Fu
parent 00db66b8c4
commit 50449b55e8
2 changed files with 10 additions and 2 deletions

View File

@ -68,7 +68,11 @@
<!-- <div id="paper_list" class="tinycanvas vp">
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
<div class="viewport"> -->
<div class="overview" content-layout="datalist" per-column="5" base-width="300" pagination-var="page">
<% if @view_by.eql?"abstract" %>
<div class="overview" content-layout="datalist" per-column="1" base-width="300" pagination-var="page">
<% else %>
<div class="overview" content-layout="datalist" per-column="5" base-width="300" pagination-var="page">
<% end %>
<% @writing_conferences.each do |w| %>
<%= publication_record w, @view_by%>
<% end %>

View File

@ -77,7 +77,11 @@
<div class="sdm_t hh1"><span class="icon-question-sign"></span></div>
</div>
</div>
<div class="overview" content-layout="datalist" base-width="300" per-column="5" pagination-var="page" >
<% if @view_by.eql?"abstract" %>
<div class="overview" content-layout="datalist" per-column="1" base-width="300" pagination-var="page">
<% else %>
<div class="overview" content-layout="datalist" per-column="5" base-width="300" pagination-var="page">
<% end %>
<% @writing_journals.each do |w| %>
<%= publication_record w, @view_by%>
<% end %>