diff --git a/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletins_helper.rb b/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletins_helper.rb
index 7e36a22d..31e08fb4 100644
--- a/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletins_helper.rb
+++ b/vendor/built_in_modules/announcement/app/helpers/panel/announcement/back_end/bulletins_helper.rb
@@ -49,4 +49,4 @@ module Panel::Announcement::BackEnd::BulletinsHelper
end
-end
\ No newline at end of file
+end
diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_bulletin.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_bulletin.html.erb
index ab49549d..c7c835f9 100644
--- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_bulletin.html.erb
+++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_bulletin.html.erb
@@ -1,78 +1,78 @@
-
- <% if (bulletin.create_user_id == current_or_guest_user.id) || is_manager? %>
- <%= check_box_tag 'to_delete[]', bulletin.id, false, :class => "checkbox_in_list" %>
- <% end -%>
- |
-
-
-
- <% if bulletin.is_top? %>
- <%= t(:top) %>
- <% end %>
- <% if bulletin.is_hot? %>
- <%= t(:hot) %>
- <% end %>
- <% if bulletin.is_hidden? %>
- <%= t(:hidden) %>
- <% end %>
- <% if bulletin.is_pending? %>
- <%= t(:pending) %>
- <% end %>
- <% if bulletin.is_checked? %>
- <%= t(:passed) %>
- <% end %>
- <% if bulletin.is_rejected? %>
- <%= t(:rejected) %>
- <% end %>
-
-
- |
- <%= bulletin.bulletin_category.title rescue nil %> |
-
- <%= show_bulletin_title_at_index bulletin%>
-
-
- <% if (bulletin.create_user_id == current_or_guest_user.id) || is_manager? %>
-
- <% if current_or_guest_user.admin? || (!bulletin.is_rejected? && !bulletin.is_checked?) %>
- - <%= link_to t('bulletin.edit'), edit_panel_announcement_back_end_bulletin_path(bulletin) %>
- -
- <%= t(:quick_edit) %>
-
-
- <% end %>
+
+ <% if (bulletin.create_user_id == current_or_guest_user.id) || is_manager? %>
+ <%= check_box_tag 'to_delete[]', bulletin.id, false, :class => "checkbox_in_list" %>
+ <% end -%>
+ |
+
+
+
+ <% if bulletin.is_top? %>
+ <%= t(:top) %>
+ <% end %>
+ <% if bulletin.is_hot? %>
+ <%= t(:hot) %>
+ <% end %>
+ <% if bulletin.is_hidden? %>
+ <%= t(:hidden) %>
+ <% end %>
+ <% if bulletin.is_pending? %>
+ <%= t(:pending) %>
+ <% end %>
+ <% if bulletin.is_checked? %>
+ <%= t(:passed) %>
+ <% end %>
+ <% if bulletin.is_rejected? %>
+ <%= t(:rejected) %>
+ <% end %>
+
+
+ |
+ <%= bulletin.bulletin_category.title rescue nil %> |
+
+ <%= show_bulletin_title_at_index bulletin%>
+
+
+ <% if (bulletin.create_user_id == current_or_guest_user.id) || is_manager? %>
- <% end -%>
- <% if show_delete_link(bulletin) %>
- - <%= link_to t('bulletin.delete'), panel_announcement_back_end_bulletin_path(bulletin), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %>
- <% end %>
- <% if show_approval_link(bulletin) %>
- - <%= link_to t('announcement.bulletin.approval'), panel_announcement_back_end_bulletin_approval_preview_path(bulletin),:class => 'preview_trigger' %>
<%#= #TODO add ancher so user can quick access into that part %>
- <% end %>
- <% if show_reject_reason(bulletin)%>
- - <%= link_to t('rejected_reason')+truncate(bulletin.not_checked_reason, :length => 10),'#',:rel=>"tooltip" ,'data-original-title'=> (wrap_string_with(bulletin.not_checked_reason, :line_width => 24)),:class=>'reject_info' %>
- <% end %>
-
-
- |
- <%= display_date_time(bulletin.postdate) %> |
- <%= (bulletin.deadline) ? display_date_time(bulletin.deadline ): t('bulletin.no_deadline') %> |
-
-
-
- <% bulletin.sorted_tags.each do |tag| %>
- <%= tag[I18n.locale] %>
- <% end %>
-
-
- |
- <%= User.from_id(bulletin.update_user_id).name rescue ''%> |
+ <% if current_or_guest_user.admin? || (!bulletin.is_rejected? && !bulletin.is_checked?) %>
+ - <%= link_to t('bulletin.edit'), edit_panel_announcement_back_end_bulletin_path(bulletin) %>
+ -
+ <%= t(:quick_edit) %>
+
+
+ <% end %>
+
+ <% end -%>
+ <% if show_delete_link(bulletin) %>
+ - <%= link_to t('bulletin.delete'), panel_announcement_back_end_bulletin_path(bulletin), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %>
+ <% end %>
+ <% if show_approval_link(bulletin) %>
+ - <%= link_to t('announcement.bulletin.approval'), panel_announcement_back_end_bulletin_approval_preview_path(bulletin),:class => 'preview_trigger' %>
<%#= #TODO add ancher so user can quick access into that part %>
+ <% end %>
+ <% if show_reject_reason(bulletin)%>
+ - <%= link_to t('rejected_reason')+truncate(bulletin.not_checked_reason, :length => 10),'#',:rel=>"tooltip" ,'data-original-title'=> (wrap_string_with(bulletin.not_checked_reason, :line_width => 24)),:class=>'reject_info' %>
+ <% end %>
+
+
+ |
+<%= display_date_time(bulletin.postdate) %> |
+<%= (bulletin.deadline) ? display_date_time(bulletin.deadline ): t('bulletin.no_deadline') %> |
+
+
+
+ <% bulletin.sorted_tags.each do |tag| %>
+ <%= tag[I18n.locale] %>
+ <% end %>
+
+
+ |
+<%= User.from_id(bulletin.update_user_id).name rescue ''%> |