adjust submanage priv
This commit is contained in:
parent
49e83f6ea0
commit
ca0ee268ab
|
@ -157,7 +157,7 @@
|
|||
<br />
|
||||
※<%= t("news.image_note")%>
|
||||
<br />
|
||||
<a href="https://www.safesync.nccu.edu.tw/HWwc/%E5%A6%82%E4%BD%95%E8%A3%81%E5%89%AA%E6%96%B0%E8%81%9E%E5%88%8A%E9%A0%AD%E5%9C%96%E7%89%87.pdf?a=wKRF1__Vjhk" target="_blank" style="color:red;">※如何裁剪新聞刊頭圖片</a>
|
||||
<a href="http://itservice.nccu.edu.tw/nccuweb/%E5%A6%82%E4%BD%95%E8%A3%81%E5%89%AA%E6%96%B0%E8%81%9E%E5%B0%81%E9%9D%A2%E5%9C%96%E7%89%87.pdf" target="_blank" style="color:red;">※如何裁剪新聞封面圖片</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls pull-left">
|
||||
|
@ -228,7 +228,7 @@
|
|||
<br />
|
||||
※內文裡單一圖片尺寸的最大寬度600px(滿版),如圖片要縮小,請依比例調整。
|
||||
<br />
|
||||
<a href="https://www.safesync.nccu.edu.tw/HWwc/%E5%A6%82%E4%BD%95%E8%A3%81%E5%89%AA%E6%96%B0%E8%81%9E%E5%9C%96%E7%89%87.pdf?a=tAdpdijUy1U" target="_blank" style="color:red;">※如何剪裁新聞圖片。</a>
|
||||
<a href="http://itservice.nccu.edu.tw/nccuweb/%E5%A6%82%E4%BD%95%E8%A3%81%E5%89%AA%E6%96%B0%E8%81%9E%E5%9C%96%E7%89%87.pdf" target="_blank" style="color:red;">※如何剪裁新聞圖片。</a>
|
||||
</div>
|
||||
<div class="textarea">
|
||||
<%= f.fields_for :text_translations do |f| %>
|
||||
|
|
|
@ -66,6 +66,11 @@
|
|||
<% if current_user.is_admin? || current_user.is_manager?(@module_app) %>
|
||||
<li><a href="/admin/news/<%=b.id.to_s%>/edit"><%= t(:edit) %></a></li>
|
||||
<li><a href="#" class="delete text-error" rel="/admin/news/<%=b.id.to_s%>"><%= t(:delete_) %></a></li>
|
||||
<% elsif is_user_sub_manager? %>
|
||||
<% if !b.rejected && !b.approved %>
|
||||
<li><a href="/admin/news/<%=b.id.to_s%>/edit"><%= t(:edit) %></a></li>
|
||||
<% end %>
|
||||
<li><a href="#" class="delete text-error" rel="/admin/news/<%=b.id.to_s%>"><%= t(:delete_) %></a></li>
|
||||
<% else %>
|
||||
<% if !b.rejected && !b.approved %>
|
||||
<li><a href="/admin/news/<%=b.id.to_s%>/edit"><%= t(:edit) %></a></li>
|
||||
|
|
Loading…
Reference in New Issue