parent
2eaa44c279
commit
11e9f5d7cd
2
Gemfile
2
Gemfile
|
@ -64,6 +64,8 @@ gem 'rmmseg-cpp-huacnlee', '0.2.9'
|
|||
gem 'redis-namespace'
|
||||
gem 'redis-search'
|
||||
gem 'syslog-logger'
|
||||
gem "recaptcha", :require => "recaptcha/rails"
|
||||
gem 'mongoid-versioning'
|
||||
|
||||
# Gems used only for assets and not required
|
||||
# in production environments by default.
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<% @bulletin.versions.reverse.each do |version| %>
|
||||
<tr class="with_action">
|
||||
<td>
|
||||
<%= version.title[I18n.locale.to_s] %>
|
||||
<%= version.title %>
|
||||
<div class="quick-edit">
|
||||
<%= link_to '顯示', panel_announcement_back_end_bulletin_bulletin_version_path(@bulletin, version.version) %>
|
||||
</div>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<ul>
|
||||
<li>
|
||||
<b><%= t(:name) %></b>
|
||||
<%= @version.title[I18n.locale.to_s] %>
|
||||
<%= @version.title %>
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t(:subtitle) %></b>
|
||||
<%= @version.subtitle[I18n.locale.to_s] %>
|
||||
<%= @version.subtitle %>
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t(:text) %></b>
|
||||
<%= simple_format @version.text[I18n.locale.to_s] %>
|
||||
<%= simple_format @version.text %>
|
||||
</li>
|
||||
<li>
|
||||
<b><%= t(:deadline) %></b>
|
||||
|
|
Loading…
Reference in New Issue