Merge branch 'design_team' into ldap
Conflicts: vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_approvals_controller.rb vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletins/_news_bulletin.html.erb
This commit is contained in:
commit
f1c8bed29d
76 files changed
+348
-171
No files matched your search
@@ -69,10 +69,10 @@ class WebLink
|
||||
protected
|
||||
|
||||
def set_key
|
||||
if name.new_record?
|
||||
if name && name.new_record?
|
||||
name.key = 'name'
|
||||
end
|
||||
if context.new_record?
|
||||
if context && context.new_record?
|
||||
context.key = 'context'
|
||||
end
|
||||
end
|
||||
|
||||
Vendored
+2
-2
@@ -13,7 +13,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t('announcement.postdate') %></b>
|
||||
<%= @bulletin.postdate %>
|
||||
<%= display_date(@bulletin.postdate) %>
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t('announcement.title') %></b>
|
||||
@@ -50,7 +50,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t('announcement.最後修改時間') %></b>
|
||||
<%= @bulletin.updated_at %>
|
||||
<%= display_date(@bulletin.updated_at) %>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -13,7 +13,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t('announcement.postdate') %></b>
|
||||
<%= @bulletin.postdate %>
|
||||
<%= display_date(@bulletin.postdate) %>
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t('announcement.title') %></b>
|
||||
@@ -50,7 +50,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t('announcement.最後修改時間') %></b>
|
||||
<%= @bulletin.updated_at.strftime("%Y-%m-%d %H:%I:%S") %>
|
||||
<%= display_date_time(@bulletin.updated_at) %>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user