<% # encoding: utf-8 %> <% if !@writing_book.year.blank? %> <% end %> <% if !@writing_book.language.blank? %> <% end %> <% if !@writing_book.paper_title.blank? %> <% end %> <% if !@writing_book.book_title.blank? %> <% end %> <% if !@writing_book.book_paper_type.blank? %> <% end %> <% if !@book_author_types.blank? %> <% end %> <% if !@writing_book.extracted_chapters.blank? %> <% end %> <% if !@writing_book.publisher.blank? %> <% end %> <% if !@writing_book.editor.blank? %> <% end %> <% if !@writing_book.publish_date.blank? %> <% end %> <% if !@writing_book.pages.blank? %> <% end %> <% if !@writing_book.isbn.blank? %> <% end %> <% if !@writing_book.publication_date.blank? %> <% end %> <% if !@writing_book.url.blank? %> <% end %> <% if @writing_book.writing_book_files.size > 0 %> <% end %>
<%= t("module_name.personal_book") %>
<%= t("personal_book.year")%><%= @writing_book.year %>
<%= t("personal_book.language")%><%= @writing_book.language %>
<%= t("personal_book.paper_title")%><%= @writing_book.paper_title %>
<%= t("personal_book.book_title")%><%= @writing_book.book_title %>
<%= t("personal_book.book_paper_type")%><%= @writing_book.book_paper_type.title if !@writing_book.book_paper_type.blank? %>
<%= t("personal_book.author_type")%><%= @book_author_types %>
<%= t("personal_book.extracted_chapters")%><%= @writing_book.extracted_chapters %>
<%= t("personal_book.publisher")%><%= @writing_book.publisher %>
<%= t("personal_book.editor")%><%= @writing_book.editor %>
<%= t("personal_book.publish_date")%><%= @writing_book.publish_date %>
<%= t("personal_book.pages")%><%= @writing_book.pages %>
<%= t("personal_book.isbn")%><%= @writing_book.isbn %>
<%= t("personal_book.publication_date")%><%= @writing_book.publication_date %>
<%= t("personal_book.url")%><%= link_to t(:url), @writing_book.url, {:target => '_blank', :title => @writing_book.url} if !@writing_book.url.blank? %>
<%= t("personal_book.authors")%><%= "#{User.from_id(@writing_book.create_user_id).name rescue ''},#{@writing_book.authors rescue ''}"%>
<%= t("personal_book.files")%>
<% @writing_book.writing_book_files.each do | wjfile | %> <%= link_to wjfile.title, wjfile.file.url, {:target => '_blank', :title => wjfile.title} if wjfile.file.file %> <% end %>