diff --git a/app/views/admin/e_paper_criterias/emailer.html.erb b/app/views/admin/e_paper_criterias/emailer.html.erb index 2700a09..dcfacdc 100644 --- a/app/views/admin/e_paper_criterias/emailer.html.erb +++ b/app/views/admin/e_paper_criterias/emailer.html.erb @@ -160,10 +160,14 @@ <% paper.epaper_topics.desc(:created_at).each do |topic| %>
" target="_blank"><%= topic.title %> - "> +
+ " style="width: 100%;"> +
+
<% t = strip_tags(topic.content) %> <%= topic.description %> " target="_blank">more +
<% end %> diff --git a/modules/e_paper/show.html.erb b/modules/e_paper/show.html.erb index 6073534..353ee4b 100644 --- a/modules/e_paper/show.html.erb +++ b/modules/e_paper/show.html.erb @@ -1,16 +1,22 @@ -
- {{member_name}} - - {{member_autobiography}} +

{{title}}

-
- {{category_title}}
- {{criteria_title}} +
+
+
+
+

{{member_name}}

+ {{member_autobiography}} +
+
+
+ {{category_title}}
+ {{criteria_title}} + {{publish_date}}
+
-
- {{publish_date}}
- +
+ + {{content}}
-
-
{{content}}