diff --git a/app/views/admin/news/_form.html.erb b/app/views/admin/news/_form.html.erb index 08acfb9..d074ef2 100644 --- a/app/views/admin/news/_form.html.erb +++ b/app/views/admin/news/_form.html.erb @@ -157,7 +157,7 @@
※<%= t("news.image_note")%>
- ※如何裁剪新聞刊頭圖片 + ※如何裁剪新聞封面圖片
@@ -228,7 +228,7 @@
※內文裡單一圖片尺寸的最大寬度600px(滿版),如圖片要縮小,請依比例調整。
- ※如何剪裁新聞圖片。 + ※如何剪裁新聞圖片。
<%= f.fields_for :text_translations do |f| %> diff --git a/app/views/admin/news/_index.html.erb b/app/views/admin/news/_index.html.erb index a6a4d37..174f2ba 100644 --- a/app/views/admin/news/_index.html.erb +++ b/app/views/admin/news/_index.html.erb @@ -66,6 +66,11 @@ <% if current_user.is_admin? || current_user.is_manager?(@module_app) %>
  • <%= t(:edit) %>
  • <%= t(:delete_) %>
  • + <% elsif is_user_sub_manager? %> + <% if !b.rejected && !b.approved %> +
  • <%= t(:edit) %>
  • + <% end %> +
  • <%= t(:delete_) %>
  • <% else %> <% if !b.rejected && !b.approved %>
  • <%= t(:edit) %>