diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb index 2c4cd153..52255b2a 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/widget/bulletins/index.html.erb @@ -1,42 +1,23 @@ - - -<% if @bulletin and !@bulletin.nil? %> - -
-

<%= @bulletin.title %>

-

<%= @bulletin.subtitle %>

- <%= link_to "read more >",panel_announcement_front_end_bulletin_path(@bulletin.id) %> - read more > -
- -<% end %> +<% # encoding: utf-8 %> <% if @bulletins and !@bulletins.nil? %> -
-

news

- -<%= link_to "read more >",panel_announcement_front_end_bulletins_path(), :class => "btn" %> -read more > +
+
+

<%= t('焦點新聞')%>

+ <%= link_to "more+",panel_announcement_front_end_bulletins_path(), :class => "topic_note" %> +
    + <% @bulletins.each do |post| %> +
  • +
    <%= image_tag(post.image.url, :size => "290x130") if post.image.file %>
    +

    <%= post.title %>

    +

    <%= post.subtitle %>

    +
  • + <% end %> +
- -
-

news

-
    - <% @bulletins.each do |post| %> -
  • - <%= image_tag(post.image.url, :size => "160x140") if post.image.file %> -

    <%= post.title %>

    - <%= post.subtitle %> -
  • - <% end %> -
-<%= link_to "read more >",panel_announcement_front_end_bulletins_path(), :class => "btn" %> -read more >
<% end %> + +